Skip to content

Rebuild cronolog with CHECK_ALL_PREFIX_DIRS #608

Merged
merged 4 commits into from
Feb 8, 2018
Merged

Commits on Feb 8, 2018

  1. Configuration menu
    Copy the full SHA
    55f0781 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfbcabb View commit details
    Browse the repository at this point in the history
  3. cronolog: Update download URL

    The cronolog.org website seems to be dead. The project seems to have
    moved to https://github.com/fordmason/cronolog but it is rather
    unmaintained there also.
    
    Use commit 8ea64c08afe54878ef3ce8489f9b1f6592515e59 ("added version 1.6.2
    from 2001-05-04") for version 1.6.2.
    
    Version 1.6.3 from 83f9e99d6bd5cb8f5cc06723f4d79d1265582340 ("added version
    1.6.3 from 2004-02-07") does not seem to be functional:
    
        scratch/local/bee-buczek/cronolog/cronolog-1.6.3-0/source/configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --sysconfdir=/etc --sharedstatedir=/var --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man --exec-prefix=/usr
        configure: error: cannot find sources (bootstrap) in /scratch/local/bee-buczek/cronolog/cronolog-1.6.3-0/source or ..
    donald committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    af4b6e8 View commit details
    Browse the repository at this point in the history
  4. cronolog: Rebuild with -DCHECK_ALL_PREFIX_DIRS

    Without this option, cronolog creates all required directory components
    for the logfile only once, but doesn't recreate them as needed when a
    new logfile is created in the same directory path as before. The
    directory is "known to exist".
    
    However, if the directory is removed by a third party, like a stupid
    system administrator, cronolog just terminates when trying to open the
    next logfile.
    
    Add -DCHECK_ALL_PREFIX_DIRS to change that behaviour. With
    CHECK_ALL_PREFIX_DIRS, all directories are created as needed whenever a
    new logfile is created.
    donald committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    6bf0fa2 View commit details
    Browse the repository at this point in the history