[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] bug in logrotation



Hi Cristoph,

Strange...

Can you double check the contents of a couple of these?  What are the timestamps for the first and last lines in each of slot1_10 and slot1_10.old, for example?  It seems odd to me that the current ones are so much bigger than the .old ones. (I would expect the reverse...).

Are you seeing any messages in these logs about log rotation failing?

What size (or time) do you have configured for rotation?

Thanks!


Cheers,
-zach


ïOn 11/22/19, 8:56 AM, "HTCondor-users on behalf of Beyer, Christoph" <htcondor-users-bounces@xxxxxxxxxxx on behalf of christoph.beyer@xxxxxxx> wrote:

    Hi,
    
    we loose somehow two years here in terms of timestamp: 
    
    The logs add up OK but they get a 2017 timestamp instead of 2019 for some reason ? 
    
    -rw-r--r-- 1 condor it    355041416 22. Nov 15:46 StarterLog.slot1_1
    -rw-r--r-- 1 condor it    340927634 22. Nov 15:49 StarterLog.slot1_10
    -rw-r--r-- 1 condor it     10485981 22. Nov 2017  StarterLog.slot1_10.old
    -rw-r--r-- 1 condor it    341932295 22. Nov 15:46 StarterLog.slot1_11
    -rw-r--r-- 1 condor it     10486020 22. Nov 2017  StarterLog.slot1_11.old
    -rw-r--r-- 1 condor it    333737263 22. Nov 15:45 StarterLog.slot1_12
    -rw-r--r-- 1 condor it     10486050 23. Nov 2017  StarterLog.slot1_12.old
    -rw-r--r-- 1 condor it    337051744 22. Nov 15:49 StarterLog.slot1_13
    -rw-r--r-- 1 condor it     10486050 22. Nov 2017  StarterLog.slot1_13.old
    -rw-r--r-- 1 condor it    330326345 22. Nov 15:47 StarterLog.slot1_14
    -rw-r--r-- 1 condor it     10486050 23. Nov 2017  StarterLog.slot1_14.old
    -rw-r--r-- 1 condor it    326301507 22. Nov 15:44 StarterLog.slot1_15
    -rw-r--r-- 1 condor it     10486050 22. Nov 2017  StarterLog.slot1_15.old
    -rw-r--r-- 1 condor it    329685561 22. Nov 15:46 StarterLog.slot1_16
    -rw-r--r-- 1 condor it     10486050 22. Nov 2017  StarterLog.slot1_16.old
    -rw-r--r-- 1 condor it    319505243 22. Nov 15:46 StarterLog.slot1_17
    -rw-r--r-- 1 condor it     10486050 23. Nov 2017  StarterLog.slot1_17.old
    
    this is on 
    
    [root@bird664 condor]# condor_master -v
    $CondorVersion: 8.7.8 May 31 2018 BuildID: 442130 $
    $CondorPlatform: x86_64_RedHat6 $
    
    Best
    christoph
    
    -- 
    Christoph Beyer
    DESY Hamburg
    IT-Department
    
    Notkestr. 85
    Building 02b, Room 009
    22607 Hamburg
    
    phone:+49-(0)40-8998-2317
    mail: christoph.beyer@xxxxxxx
    _______________________________________________
    HTCondor-users mailing list
    To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
    subject: Unsubscribe
    You can also unsubscribe by visiting
    https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
    
    The archives can be found at:
    https://lists.cs.wisc.edu/archive/htcondor-users/