Logging
enaio® mail-archive-service logs in the services.log log file in the \logs\ directory of enaio® service-manager by default, the same way as every other service.
Separate log entries are written for all services.
Example of starting services successfully
MAS-SMTP
massmtp.8120 : 2023-01-18 07:53:13.818 INFO 11724 --- [main] com.os.mail.MasSmtpService : Started MasSmtpService in 9.673 seconds (JVM running for 11.171)
MAS-MAILBOX
masmailbox.8110 : 2023-01-18 07:58:23.049 INFO 4216 --- [main] com.os.mail.MasMailboxService : Started MasMailboxService in 11.458 seconds (JVM running for 12.501)
MAS-STORAGE
masstorage.8130 : 2023-01-18 08:03:12.321 INFO 10832 --- [main] com.os.mail.MasStorageApplication : Started MasStorageApplication in 12.593 seconds (JVM running for 13.714)
When started, each service writes the key configuration data and information from the health check in the log file.
Example:
masstorage.8130 : 2022-11-18 08:03:06.125 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Enaio object with internal name: HM2_EXCHANGESTORAGE_FOLDER
masstorage.8130 : 2022-11-18 08:03:06.125 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Configured fields:
masstorage.8130 : 2022-11-18 08:03:06.127 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Field FOLDER_USER is mapped with internal name Benutzer and type STRING.
masstorage.8130 : 2022-11-18 08:03:06.136 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Enaio object with internal name: HM2_StrukturRegister
masstorage.8130 : 2022-11-18 08:03:06.136 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Configured fields:
masstorage.8130 : 2022-11-18 08:03:06.136 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Field REGISTER_NAME is mapped with internal name Feld1 and type STRING.
masstorage.8130 : 2022-11-18 08:03:06.146 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Enaio object with internal name: HM2_EMAIL_DOCUMENT
masstorage.8130 : 2022-11-18 08:03:06.147 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Configured fields:
masstorage.8130 : 2022-11-18 08:03:06.147 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Field MAIL_HAS_ATTACHMENT is mapped with internal name MAIL_HAS_ATTACHMENT and type STRING.
masstorage.8130 : 2022-11-18 08:03:06.147 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Field MAIL_SUBMIT_TIME is mapped with internal name MAIL_SUBMIT_TIME and type DATE_TIME.
masstorage.8130 : 2022-11-18 08:03:06.147 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Field MAIL_SUBJECT is mapped with internal name MAIL_SUBJECT and type STRING.
masstorage.8130 : 2022-11-18 08:03:06.147 INFO 10832 --- [main] c.o.m.s.s.definition.ObjectDefinition : Field MAIL_SMTP_HEADER is mapped with internal name SMTP_HEADER and type STRING.
Metrics Log
In addition to standard logging in the services.log log file located in the \logs\ directory of enaio® service-manager, a metrics log can also be activated. The services.metrics.log metrics log is also created in the \logs\ directory.
All services can be activated via the application-mas.yml file, whereas individual services are enabled via the relevant YML file.
monitoring:
trace:
enabled: true