Ignore:
Timestamp:
Apr 16, 2007, 4:13:59 PM (12 years ago)
Author:
bruno
Message:

Log files are now consistent: mondoarchive.log for mondoarchive (containing also mindi.log) and mondorestore.log for mondorestore (copied from /tmp (ram) to /var/log (disk) at the end of the restore)
One include has been created for each bianry containing only that declaration ofr the moment, but which will be extended to include all local definitions (ps_* e.g.)
Doc updated accordingly
LOGFILE in restore process is now passed in the environment and not duplicated anymore
LogIt? is not redifined either
LOGFILE should be put in environment by mondoarchive for mindi's usage but that's a step left for later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mondo/src/common/libmondo-archive.c

    r1299 r1315  
    19521952            } else {
    19531953                log_to_screen("%s...OK", message_to_screen);
    1954                 if (!run_program_and_log_output
    1955                     ("tail -n10 /var/log/mondo-archive.log | grep -F ':-('",
    1956                      1)) {
     1954                sprintf(tmp, "tail -n10 %s | grep -F ':-('", MONDO_LOGFILE);
     1955                if (!run_program_and_log_output(tmp, 1)) {
    19571956                    log_to_screen
    19581957                        ("Despite nonfatal errors, growisofs confirms the write was successful.");
Note: See TracChangeset for help on using the changeset viewer.