Which log entries are stored in the database?¶
By default, ERP messages and emails are stored in the database.
All other log entries are stored in the .log file.
log database tables cannot be found¶
If you get an error that
log database tables cannot be found, update your database schema:
How do I invoke a simple log instruction?¶
The ID for the standard logging is
silver_common.logger. This is an instance of
You can write a simple debug log in a container action in the following way:
1 2 3
How do I log a newly created ERP message?¶
All transmitted messages are logged automatically, because the mandatory transport layer automatically logs all messages.
But if a new transport is implemented (other than
this implementation has to take care of logging the measuring point on a lower level.
See Measuring Points in the ERP logging documentation
for more information.
How do I log an email that is sent by the shop?¶
All emails that are sent with
MailHelperService are logged automatically.
How do I avoid logging the password in the database?¶
If the email contains a password that should not be logged in the DB, you have to specify this password as a template parameter.
MailHelperService replaces the template parameter
Where can I find the log file?¶
The standard log file is located in