Comments - Location of log files. Containers.

4 years, 3 months ago Sam
This comment has the status of 'removed' and can only be seen by you.

Found an answer, Execute "flush logs" in maxadmin. Then output is printed in the terminal where the container has been started.


add server server1 MariaDB-Monitor
flush logs

Output from maxscale container, e.g.:
2018-11-27 12:32:30   error  : (7) Server 'server1' is already monitored.

For some reason, there are no details regarding following command:

add server server1 RWSplit-Service
"Could not add server 'server1' to object 'RWSplit-Service'. See error log for more details."
flush logs

In output of the maxscale container, there is only:

2018-11-27 12:35:05   notice : (7) Log rotation is called for stdout.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.