Connection option "log" can be used to set the logging level and turning logging on - any value > 0 will turn it on. "logname" can be used for setting log filename. Default name is mariadbccpp.log, and it's written to %TEMP% or %USERPROFILE% or current dir on Windows, or $HOME or /tmp on other systems. Levels are 1: 1 - error, 2 - warning, 3 - info, 4 - debug, 5 -trace. If logname set, and log is not, log will be set to 1(error).
The logging implementation atm is mainly for debugging purposes, and not really well suiting simultaneous writing by several programs - there is synchronization between threads, but not between processes
Connection option "log" can be used to set the logging level and turning logging on - any value > 0 will turn it on. "logname" can be used for setting log filename. Default name is mariadbccpp.log, and it's written to %TEMP% or %USERPROFILE% or current dir on Windows, or $HOME or /tmp on other systems. Levels are 1: 1 - error, 2 - warning, 3 - info, 4 - debug, 5 -trace. If logname set, and log is not, log will be set to 1(error).
The logging implementation atm is mainly for debugging purposes, and not really well suiting simultaneous writing by several programs - there is synchronization between threads, but not between processes