1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Create log in appropriate location for Debian
Log directory created/checked by daemon init file and removed by postrm file.
Forwarded: not-needed
Author: Olek Wojnar <olek-dev@wojnar.org>
Last-Update: 2018-02-03
--- a/common/log.cpp
+++ b/common/log.cpp
@@ -77,7 +77,7 @@
static void open_event_log()
{
- std::string event_log_file = var_directory + "/tmp/cyphesis_event.log";
+ std::string event_log_file = var_directory + "/log/cyphesis/cyphesis_event.log";
event_log.open(event_log_file.c_str(), std::ios::out | std::ios::app);
|