Yes, that's a hold overbecuse the trace infrastructure that the caching
code uses bypasses the log stream. Nin-debug messages should go into the
right log. We have to fix that, sigh.
Andy
On Wed, 28 Mar 2018, Teng Li wrote:
> Hi Wei and Andy,
>
> Thanks for your reply. I do have enabled the debug mode, but I can see logs
> at info level written to old log files as well, like:
>
> 180326 20:36:59 3989 XrdFileCache_Manager: info Cache::CacheDirCleanup()
> removed
> file:/dpm/ecdf.ed.ac.uk/home/atlas/atlasscratchdisk/rucio/panda/dc/73/panda.um.user.fcirotto.13543862._000027.hist-output.root.cinfo
> size: 93
>
> Don't know if that's expected.
>
> Thanks,
> Teng
>
>
> Quoting Andrew Hanushevsky <[log in to unmask]> on Wed, 28 Mar 2018
> 07:17:29 -0700 (PDT):
>
>> Odd, the xcache part should be using the same log file. I will take a look.
>> If you've turned on debugging (which we don't recommend unles there is a
>> bug -- other than logging) then some messages will be written to the old
>> log.
>>
>> Andy
>>
>> On Wed, 28 Mar 2018, Yang, Wei wrote:
>>
>>> I think I have raised this issue recently but forgot what actions we will
>>> take.
>>>
>>> --
>>> Wei Yang | [log in to unmask] | 650-926-3338(O)
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: <[log in to unmask]> on behalf of Teng Li <[log in to unmask]>
>>> Date: Wednesday, March 28, 2018 at 3:56 PM
>>> To: xrootd-l <[log in to unmask]>
>>> Subject: Log rotation question
>>>
>>>> Hi,
>>>>
>>>> While trying to extract file purging information from XCache log
>>>> files, I've found an interesting behaviour.
>>>>
>>>> After XRootD rotates the old log file and generates a new one at
>>>> midnight, logs produced by XrdFileCache_File, XrdFileCache_IO and
>>>> XrdFileCache_Manager are still written to the old log file, while logs
>>>> generated by other modules are correctly written to the new file.
>>>>
>>>> Is XCache modules using a different tracing mechanism?
>>>>
>>>> Cheers,
>>>> Teng
>>>>
>>>> --
>>>> The University of Edinburgh is a charitable body, registered in
>>>> Scotland, with registration number SC005336.
>>>>
>>>> ########################################################################
>>>> Use REPLY-ALL to reply to list
>>>>
>>>> To unsubscribe from the XROOTD-L list, click the following link:
>>>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
>>>
>>> ########################################################################
>>> Use REPLY-ALL to reply to list
>>>
>>> To unsubscribe from the XROOTD-L list, click the following link:
>>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
>>>
>>
>>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
|