Artifakt aggregates the following log categories for each environment:
Web Server – Anything related to Web servers (Apache or Nginx) or coming from your application, i.e. what is generated by the code of your application or its dependencies..
Database – Everything related to your application database. You will find a section about slow queries (SQL queries whose execution takes more than 10 seconds) and another one about errors.
For each of the above categories, it is possible to:
Select a specific log file (you can customize these sources)
Filter log entries by level (error, warning, info, etc.)
Filter log entries by date
Filter log entries by keywords
Depending on your platform type, the log retention period will vary according to the table below.
Log retention period
You also have a real-time mode allowing you to see the content of the log files without having to reload the pages. This mode can be particularly useful during debugging sessions.
To stream specific log entries from your source code to the Artifakt Console, you should send the logs directly to the standard output
stderr. Then, the data would be aggregated and available from Environment → Logs.
You can define custom log levels to filter and sort log entries more easily. For example, you can define a new log level called
Import and using the
?import pattern. Then, go to Environment → Logs and you will be able to filter log entries that contain the "import" string.