Calem Blogs

Blogs of CalemEAM

How to Enable Debug Log in Calem

​Debug log in Calem server helps troubleshooting. For customers with on-site deployment of Calem Enterprise, the debug log can be enabled in the server. The first step is to edit Calem_Home/etc/log4php.properties where Calem_Home is the directory where Calem Enterprise is installed. The default log level is "info".

;
; Debug level for test use
; log4php.rootLogger=debug, F1
;
; info level for test or production use (less logs than debug)
; log4php.rootLogger=info, F1
; 
; warn level for production use (less logs than info)
; log4php.rootLogger=warn, F1
;

log4php.rootLogger=info, F1

log4php.appender.F1=LoggerAppenderRollingFile
log4php.appender.F1.MaxFileSize=25MB
log4php.appender.F1.MaxBackupIndex=4 

​Modify Line 12 to "debug" as shown below. Save the change. The log file in Calem_Home/logs/calem.log will be of debug level. Remember to change the log level back to "info" when you are done with generating debug logs.

;
; Debug level for test use
; log4php.rootLogger=debug, F1
;
; info level for test or production use (less logs than debug)
; log4php.rootLogger=info, F1
; 
; warn level for production use (less logs than info)
; log4php.rootLogger=warn, F1
;

log4php.rootLogger=debug, F1

log4php.appender.F1=LoggerAppenderRollingFile
log4php.appender.F1.MaxFileSize=25MB
log4php.appender.F1.MaxBackupIndex=4 
How to Define Warehouse Staff in Calem
How to Track Storeroom Activities in Calem