Skip to content
Snippets Groups Projects
Commit 9936bd63 authored by Iustin Pop's avatar Iustin Pop
Browse files

Simplify the log constants and add another one

The patch changes the log constants by moving the slash to the end of
the log dir instead of at the beginning of *each* log file name.

It also adds a new LOG_COMMANDS constant (to be used in a next patch).

Reviewed-by: ultrotter
parent ce7151ae
No related branches found
No related tags found
No related merge requests found
...@@ -108,13 +108,14 @@ FIRST_DRBD_PORT = 11000 ...@@ -108,13 +108,14 @@ FIRST_DRBD_PORT = 11000
LAST_DRBD_PORT = 14999 LAST_DRBD_PORT = 14999
MASTER_SCRIPT = "ganeti-master" MASTER_SCRIPT = "ganeti-master"
LOG_DIR = _autoconf.LOCALSTATEDIR + "/log/ganeti" LOG_DIR = _autoconf.LOCALSTATEDIR + "/log/ganeti/"
LOG_OS_DIR = LOG_DIR + "/os" LOG_OS_DIR = LOG_DIR + "os"
LOG_NODESERVER = LOG_DIR + "/node-daemon.log" LOG_NODESERVER = LOG_DIR + "node-daemon.log"
LOG_WATCHER = LOG_DIR + "/watcher.log" LOG_WATCHER = LOG_DIR + "watcher.log"
LOG_MASTERDAEMON = LOG_DIR + "/master-daemon.log" LOG_MASTERDAEMON = LOG_DIR + "master-daemon.log"
LOG_RAPISERVER = LOG_DIR + "/rapi-daemon.log" LOG_RAPISERVER = LOG_DIR + "rapi-daemon.log"
LOG_RAPIACCESS = LOG_DIR + "/rapi-access.log" LOG_RAPIACCESS = LOG_DIR + "rapi-access.log"
LOG_COMMANDS = LOG_DIR + "commands.log"
OS_SEARCH_PATH = _autoconf.OS_SEARCH_PATH OS_SEARCH_PATH = _autoconf.OS_SEARCH_PATH
EXPORT_DIR = _autoconf.EXPORT_DIR EXPORT_DIR = _autoconf.EXPORT_DIR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment