By default, log rotation is enabled for the messages.log and
New files are created each time the Apache server is restarted or it exceeds 10MB in
By default, the log rotation is enabled to rotate the files once
they reach 10MB.
BlueCat Gateway v21.5.1 generates the Apache configuration file at container startup. If
you require custom Log Rotation settings, you must include a
file in the Built-in workspace or in the custom
workspace containing the following:
This will let you use your custom Apache configuration for your container.
Note: It is possible to now add messages directly to Apache server logs. You can add
messages using the app.logger object where app is
imported from main_app. Adding messages are useful if there is no
user session when a workflow is executed.
For example, to configure log rotation, type the following: