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/mondoarchive/mondoarchive.h

    r1256 r1326  
    1212#define MONDO_CONF_DIR "/usr/local/etc/mondo"
    1313#endif
     14
     15/**
     16 * Compatibility #define to ease the transition to logfile-in-a-variable.
     17 */
     18char *MONDO_LOGFILE = "/var/log/mondoarchive.log";
     19
     20/* No restriction on ps options */
     21char *ps_options = "auxww";
     22char *ps_proc_id = "$2";
Note: See TracChangeset for help on using the changeset viewer.