Ignore:
Timestamp:
Apr 16, 2007, 4:13:59 PM (17 years ago)
Author:
Bruno Cornec
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/newt-specific.c

    r1294 r1315  
    435435
    436436        printf("---FATALERROR--- %s\n", error_string);
    437         system
    438             ("gzip -9c /var/log/mondo-archive.log > /tmp/MA.log.gz 2> /dev/null");
     437        sprintf(command, "gzip -9c %s > /tmp/MA.log.gz 2> /dev/null", MONDO_LOGFILE);
     438        system(command);
    439439        printf
    440440                ("If you require technical support, please contact the mailing list.\n");
Note: See TracChangeset for help on using the changeset viewer.