1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-10-02 15:00:02 +00:00

Setup the logger based on the log_file setting in tawashi.ini.

With this change I had to swap the order in which what settings
file as being loaded and the initialization of the logger itself.
This is because the logger now depends on the settings file,
so it can't be used before the setting file got parsed.
This commit is contained in:
King_DuckZ 2017-05-16 19:11:09 +01:00
commit ed4a02f4bb
2 changed files with 16 additions and 9 deletions

View file

@ -5,3 +5,4 @@ redis_mode = inet
base_uri = http://127.0.0.1:8080
website_root = @CMAKE_CURRENT_BINARY_DIR@/html
logging_level = debug
log_file = @CMAKE_CURRENT_BINARY_DIR@/tawashi.log