Menu

logrotate: Exception: Die Datei "nocompress" konnte nicht gefunden werden.

2017-02-09
2017-02-09
  • Rolf Geuenich

    Rolf Geuenich - 2017-02-09

    cfg:

    nocompress
    
    C:\Tools\TalendOpenStudio\logs\*.* {
        olddir C:\Tools\TalendOpenStudio\logs\backup
        missingok
        size 2048k
        rotate 10
        nocreate
    }
    

    error:

    c:\Tools\LogRotate>C:\tools\LogRotate\logrotate.exe C:\tools\LogRotate\cfg\talen
    dOpenStudio.conf
    logrotate: Exception: Die Datei "nocompress" konnte nicht gefunden werden.
    logrotate: StackTrace:    bei System.IO.__Error.WinIOError(Int32 errorCode, Stri
    ng maybeFullPath)
       bei System.IO.FileInfo.get_Length()
       bei logrotate.Program.CheckForRotate(String logfilepath, logrotateconf lrc)
       bei logrotate.Program.Main(String[] args)
    

    If moved within curly brackets no error occur. Why are general config options not available anymore?

    Used newst version. Version 14 had no problems with general options.

     
  • Ken Salter

    Ken Salter - 2017-02-28

    Let me take a look....

     
  • Ken Salter

    Ken Salter - 2017-02-28

    Can you try with this version attached to this post?

     

Log in to post a comment.