Ignore:
Timestamp:
Apr 17, 2007, 12:08:14 AM (13 years ago)
Author:
bruno
Message:
  • MONDO_LOGFILE is rather a char* exported by each main program (consolidation of those mecanisms in .h files with ps_*)
  • One include has been created for each binary containing only the specific declarations
  • 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)
  • Doc updated accordingly
  • LOGFILE in restore process is now passed in the environment and not duplicated a nymore
  • 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.
  • label-partitions-as-necessary should now work correctly for LABEL and UUID (grep -w removed)
  • Remove useless script compare-me

(All coming from 2.2.2) (remains changes in my-stuff.h coming later on)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/newt-specific.c

    r1293 r1326  
    3131#include "libmondo-fork-EXT.h"
    3232#include "newt-specific-EXT.h"
     33
     34extern char *MONDO_LOGFILE;
    3335
    3436/*@unused@*/
     
    344346    printf(_("The list's members can help you, if you attach that file to your e-mail.\n"));
    345347    printf(_("Log file: %s\n"), MONDO_LOGFILE);
    346 /*
    347     system
    348         ("gzip -9c /var/log/mondo-archive.log > /tmp/MA.log.gz 2> /dev/null");
    349     if (does_file_exist("/tmp/MA.log.gz")) {
    350         printf
    351             ("FYI, I have gzipped the log and saved it to /tmp/MA.log.gz\n");
    352         }
    353 */
    354348    printf(_("Mondo has aborted.\n"));
    355349    register_pid(0, "mondo");   // finish() does this too, FYI
Note: See TracChangeset for help on using the changeset viewer.