YSoft SafeQ Management Service Logs
General Info:
Log Format Definiton Path | Configuration Path | Output Log Name | Data Pattern After Size Overflow | Max File Size | Max Number of Files (Delete Strategy) | Compression | Concurrent Writes | Logging Type |
safeq/cml/cml-sysconfig/src/main/config/prod/cml/conf/log4j2.xml | "<install_dir>/Management/conf/log4j2.xml" | "<install_dir>/Management/logs/management-service.log" "<install_dir>/Management/logs/management-service-audit.log " | .yyyy-MM-dd-HH .yyyy-MM-dd-HH | 20MB 20MB | 500 ( - ) 500 ( - ) | no | log4j2 | |
safeq/cml/cml-sysconfig/src/main/config/prod/cml/conf/log4j2-cmldbs.xml | "<install_dir>/Management/conf/log4j2-cmldbs.xml" | "<install_dir>/Management/logs/cmldbs.log" | .yyyy-MM-dd-HH | 20MB | 250 (scavenger interval 300 sec) | no | log4j2 | |
safeq/cml/cml-sysconfig/src/main/config/prod/cml/conf/log4j2-cmldbs.xml | "<install_dir>/Management/logs/cmldbs_version.log" | always append | - | - | no | log4j2 | ||
safeq/cml/cml-sysconfig/src/main/config/default/cml/conf/replicator/log4j2.xml | "<install_dir>/Management/conf/replicator/log4j2.xml" | "<install_dir>/Management/logs/replicator.log" | .yyyy-MM-dd-HH | 20MB | 10 (scavenger interval 300 sec) | no | log4j2 | |
- | "<install_dir>/Management/ldapreplicator/wrapper.conf" | "<install_dir>/Management/logs/LDAPReplicator_stdout.log" | - | 20m | 3 | no | log4j2 | |
- | "<install_dir>/Management/tomcat/bin/" | "<install_dir>/Management/logs/ysoftsq-management-stdout.log" | .yyyy-MM-dd | - | - | no | - | |
- | "<install_dir>/Management/tomcat/bin/" | "<install_dir>/Management/logs/ysoftsq-management-stderr.log" | .yyyy-MM-dd | - | - | no | - | |
- | "<install_dir>/Management/tomcat/bin/" | "<install_dir>/Management/logs/ysoftsq-ldap-stdout.log" | .yyyy-MM-dd | - | - | no | - | |
- | "<install_dir>/Management/tomcat/bin/" | "<install_dir>/Management/logs/ysoftsq-ldap-stderr.log" | .yyyy-MM-dd | - | - | no | - | |
Management DB | ||||||||
safeq/management/database-validator/distribution-support/conf/log4j2.xml | "<install_dir>/Management/validator/conf/log4j2.xml" | "<install_dir>/Management/logs/db-validator.log | always append | - | - | no | log4j2 |
Log Format:
Log Name | Column 1 | Column 2 | Column 3 | Column 4 | Column 5 | Column 6 |
management-service.log | yyyy-MM-dd HH:mm:ss,SSS | ThreadName that generated log (min width = 30) | Logging priority (Debug) (min width 6) | Category (fixed width 20) | User Session (fixed width 45) | Application supplied message |
management-service-audit.log | Formatted according to RFC5424 (detail information in standalone documentation Audit log) | |||||
cmldbs.log | yyyy-MM-dd HH:mm:ss,SSS | Logging priority (Debug) (min width 5) | ThreadName that generated log (fixed width = 22) | | Category (fixed width 22) | | Application supplied message | |
cmldbs_version.log | | dd.MM.yyyy HH:mm:ss.SSS | Application supplied message | ||||
replicator.log | yyyy-MM-dd HH:mm:ss,SSS | Logging priority (Debug) (min width 5) | ThreadName that generated log (fixed width = 22) | | Category (fixed width 22) | | Application supplied message | |
LDAPReplicator_stdout.log | yyyy/MM/dd HH:mm:ss.SSS | | Application supplied message | ||||
ysoftsq-management-stdout.log | Application supplied message | |||||
ysoftsq-management-stderr.log | Application supplied message | |||||
ysoftsq-ldap-stdout.log | Application supplied message | |||||
ysoftsq-ldap-stderr.log | Application supplied message | |||||
Management DB | ||||||
db-validator.log | yyyy-MM-dd HH:mm:ss,SSS | Logging priority (Debug) (min width 5) | ThreadName that generated log (fixed width = 22) | | Category (fixed width 22) | | Application supplied message |
Example:
management-service.log | |||||
yyyy-MM-dd HH:mm:ss,SSS | ThreadName that generated log (min width = 30) | Logging priority (Debug) (min width 6) | Category (fixed width 20) | User Session (fixed width 45) | Application supplied message |
2016-05-20 16:01:54,629 | ServerThreadPool | DEBUG | ServerThreadPool | - MessagingThread[ID: 1, is-stop: false, selector-open: true, detachedPorts: 0] has total waiting messages in ports 0. threshold for splitting thread is 100 | |
2016-05-20 16:01:55,645 | MessagingTh1 | DEBUG | MessagingThread | - Aft: Do not select is set! | |
2016-05-20 16:02:00,005 | cml-quartz_Worker-1 | DEBUG | nagementStatsDataJob | - Executing job: eu.ysoft.safeq.core.scheduler.statistic.RecalculateManagementStatsDataJob@648f1a9c | |
management-service-audit.log | |||||
<134>1 2016-11-09T21:01:15.118+01:00 NB478 MANAGEMENT_SERVICE - DEVICE_SOFTWARE_UPDATE [web@18060 auditPoint="METHOD_OUTPUT" crudType="UPDATE" requestId="318e5b94-8a9e-4f74-91a2-0366127d63e1" requestIp="0:0:0:0:0:0:0:1" requestPath="http://localhost/software-package/packages/" sessionId="B91E7267465BBF6FACA7A824662400EC" tenantDomain="tenant_1" tenantIdentification="f900b632-aad8-4d99-ad98-33496f83812d" userId="13" userName="admin"] Update device software [info=[Software package has been submitted for processing. Result will be displayed in the notification center.], resultingPage=redirect:/hardware/list] | |||||
replicator.log | |||||
yyyy-MM-dd HH:mm:ss,SSS | Logging priority (Debug) (min width 5) | ThreadName that generated log (fixed width = 22) | | Category (fixed width 22) | | Application supplied message | |
2016-07-12 02:00:02,532 | DEBUG | ction(345)-10.0.13.116| | TransactionImpl| | begin | |
2016-07-12 02:00:02,532 | DEBUG | ction(345)-10.0.13.116| | JpaTransactionManager| | Exposing JPA transaction as JDBC transaction [org.springframework.orm.jpa.vendor.HibernateJpaDialect$HibernateConnectionHandle@a2b0656] | |
2016-07-12 02:00:02,533 | INFO | ction(345)-10.0.13.116| | faultInvocationService| | Saving new invocation request: 'Invocation[id=null, invocationStatus=REQUEST, clusterNodeId='82f1ff3b-fd91-4f45-85ae-b9a19a29c7dc', serviceIdentification=LDAP_REPLICATOR]' for tenant: 'Tenant{id=1, uuid=f900b632-aad8-4d99-ad98-33496f83812d, name='tenant_1', domain='tenant_1', active=true}' | |
db-validator.log | |||||
yyyy-MM-dd HH:mm:ss,SSS | Logging priority (Debug) (min width 5) | ThreadName that generated log (fixed width = 22) | | Category (fixed width 22) | | Application supplied message | |
2016-05-05 22:14:57,866 | DEBUG | main | | DBValidator| | Tables: 4 | |
2016-05-05 22:14:57,866 | DEBUG | main | | DBTable| | Table: smartq_validator -- does not exist |