{"id":31922,"date":"2017-02-01T07:18:49","date_gmt":"2017-02-01T15:18:49","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/2019-1-2\/system-config-2\/linux-catalina-out-gets-too-big-to-open-in-text-editors\/"},"modified":"2022-02-28T09:13:15","modified_gmt":"2022-02-28T16:13:15","slug":"linux-catalina-out-gets-too-big-to-open-in-text-editors","status":"publish","type":"docs","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/features-and-functions\/administrator\/system-configuration\/linux-catalina-out-gets-too-big-to-open-in-text-editors\/","title":{"rendered":"Linux Catalina.out Log Cannot be Opened in Text Editors"},"content":{"rendered":"
Issue Summary: I<\/strong>f INFO level debugging is enabled, the Catalina.out log in the Linux environment is too large before splitting and text editors cannot open the file.<\/p>\n The following changes have been made to the installer script:<\/p>\n <\/p>\n \/[Transact Install Directory<\/em>]\/JavaAppServer\/logs\/catalina.out{<\/p>\n notifempty<\/p>\n copytruncate<\/p>\n missingok<\/p>\n rotate 10<\/p>\n size 20M<\/p>\n }<\/p>\n About the above configuration:<\/p>\n Above command will be executed based on cron job through Ephesoft Transact. <\/strong>New properties are added in application.<\/strong>properties file :<\/strong><\/p>\n Linux:<\/strong><\/p>\n #Cron job to rotate JavaAppServer catalina.<\/strong>out logs and command <\/p>\n This logrotation will only work for Linux. <\/strong>A new bean has been added in Application\/<\/strong>applicationContext.<\/strong>xml file which should be enabled if the user requires log rotation of JavaAppServer catalina.<\/strong>out logs.<\/strong><\/p>\n <!– <\/strong>Un–<\/strong>comment it to start JavaAppServer logs rotation on this machine. —<\/strong>> Note<\/strong> : Above bean will be by default uncommented in Linux.<\/p>\n","protected":false},"featured_media":0,"parent":31916,"menu_order":2,"comment_status":"closed","ping_status":"open","template":"","doc_tag":[],"yoast_head":"\n\n
\n
\njavaappserver_log_rotation_cronjob_expression=<\/strong>0 *\/<\/strong>5 * <\/strong>? * *<\/strong>
\njavaappserver_log_rotation_command=\/<\/strong>usr\/<\/strong>sbin\/<\/strong>logrotate —<\/strong>state=<\/strong>{Ephesoft–<\/strong>Install–<\/strong>Dir}\/<\/strong>JavaAppServer\/<\/strong>conf\/<\/strong>logrotate.<\/strong>status<\/p>\n
\n<import resource=”<\/strong>classpath:\/<\/strong>META–<\/strong>INF\/<\/strong>applicationContext–<\/strong>log.<\/strong>xml” \/<\/strong>><\/p>\n