mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 09:23:13 +01:00
Log to stderr instead of stdout (#491)
This commit is contained in:
parent
eb6b9d2887
commit
4f3e0bae09
@ -139,6 +139,7 @@ find_package (Threads REQUIRED)
|
|||||||
# Logging.
|
# Logging.
|
||||||
add_definitions (-DELPP_THREAD_SAFE -DELPP_DISABLE_DEFAULT_CRASH_HANDLING)
|
add_definitions (-DELPP_THREAD_SAFE -DELPP_DISABLE_DEFAULT_CRASH_HANDLING)
|
||||||
add_definitions (-DELPP_NO_DEFAULT_LOG_FILE)
|
add_definitions (-DELPP_NO_DEFAULT_LOG_FILE)
|
||||||
|
add_definitions (-DELPP_CUSTOM_COUT=std::cerr)
|
||||||
check_include_file_cxx (syslog.h HAVE_SYSLOG_H)
|
check_include_file_cxx (syslog.h HAVE_SYSLOG_H)
|
||||||
if (HAVE_SYSLOG_H)
|
if (HAVE_SYSLOG_H)
|
||||||
message ("-- Enabled syslog logging support")
|
message ("-- Enabled syslog logging support")
|
||||||
|
Loading…
Reference in New Issue
Block a user