#1119 Issue closed: During runtime use RUNTIME_LOGFILE (and not LOGFILE)

Labels: enhancement, bug, cleanup, fixed / solved / done

jsmeix opened issue at 2016-12-12 13:11:

At many places scripts use $LOGFILE.

But LOGFILE can be specified by the user
in user config files (e.g. local.conf) different
to what usr/sbin/rear uses during runtime.

REAR_LOGFILE is the one that is used while
usr/sbin/rear runs.

First I will rename the meaningless REAR_LOGFILE
(what a surprise: that thingy belongs to ReaR! ;-)
to RUNTIME_LOGFILE to make its name tell
what it actually is.

Then I will use RUNTIME_LOGFILE in the scripts
(except some exceptions where actually LOGFILE is meant).

jsmeix commented at 2016-12-13 13:19:

With https://github.com/rear/rear/pull/1120
and https://github.com/rear/rear/pull/1121
plus https://github.com/rear/rear/commit/fbc584a5d0e2ee9a78cc52b074ad0fcb7073b4aa
it works again for me.


[Export of Github issue for rear/rear.]