How to configure the Mailer Service log
This How-to applies to: Any version.
Purpose
Explain the purpose of your how-to here. Why does someone want to read it?
Prerequisities
Explain what is needed to follow the how-to. Try to be specific about versions you are referring to.
Step by step
Explain how to complete the task here. Make sure people can understand what steps are involved. If you can, include examples and screenshots.
- mail debug: joga na saída padrão o resultado da comunicação como o servidor de email, arquivo finance.cfg.xml, <mail-debug>false</mail-debug>; dentro de <services> -> <mailerService>;
- show sql: joga na saída padrão todas as cláusulas sql geradas pelo hibernate, arquivo hibernate.cfg.xml, <property name="show_sql">true</property> ;
- wrapper.logfile.loglevel: seta o nivel de log em arquivo do wrapper service, arquivo mailerServiceWrapper.conf, possíveis valores:
-
- NONE: no log output;
- FATAL: only log fatal error messages (menos log);
- ERROR: log all error messages;
- STATUS: log all state changes;
- INFO: logs all JVM output and informative messages;
- DEBUG: logs detailed debug information (mais log);
Caso você queira pouco log, um bom valor pra wrapper.logfile.loglevel é ERROR ou STATUS.
Further information
If there is anywhere else the reader can go for more information on this topic, include some links or pointers here.