[MXS-117] Allow configuration of the log file directory Created: 2015-04-24  Updated: 2015-06-11  Resolved: 2015-04-24

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.2.0

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MXS-170 MaxScale doesnt support custom loggin... Closed

 Description   

The log file location needs to be configurable through the command line and the configuration file. This way the log directory no longer depends on the MAXSCALE_HOME environment variable.



 Comments   
Comment by markus makela [ 2015-04-24 ]

Added options to control the log directory. This can be done via command line with -L <path> or --logdir=<path> or through the configuration file with logdir=<path> under the [maxscale] section.

The default log directory is also changed to /var/log/maxscale/.

Comment by Dipti Joshi (Inactive) [ 2015-06-02 ]

markus makela Any documentation we need for this ?
Can you link the updated doc here?

Comment by markus makela [ 2015-06-11 ]

Log directory can be changed through the command line: https://github.com/mariadb-corporation/MaxScale/blob/develop/Documentation/Tutorials/Administration-Tutorial.md#starting-maxscale
or the config file: https://github.com/mariadb-corporation/MaxScale/blob/develop/Documentation/Getting-Started/Configuration-Guide.md#logdir

Comment by markus makela [ 2015-06-11 ]

This was fixed as a part of MXS-116.

Generated at Thu Feb 08 03:56:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.