Hello,
I did. I got the impression presentationHeader is meant for what users 
see, and fileHeader is for file structure, is that correct?
But why is (in WriterAppender) presentationHeader ignored if fileHeader 
is not set? Assuming the above is correct there is at least one case 
where it makes sense, namely plain text logs with a header-like 
information on top (see http://juliusdavies.ca/logging.html , "A log 
rotation..." section).

Could you please clarify it?

Greetings, Lilianne

Ralph Goers wrote:
> Take a look at HTMLLayoutBase. It looks like FileHeader is the beginning 
> of the file. In this case it contains the head section of an HTML page. 
> PresentationHeader looks like it contains the headings for a table that 
> will presumably contain the log entries.
> 
> Lilianne E. Blaze wrote:
>> (Reposting in case the mail fell victim to that crashed drive you mentioned)
>>
>> Lilianne E. Blaze wrote:
>>   
>>> Hello,
>>> I'm trying to write a custom Layout, I have it pretty much planned, but 
>>> there's one thing I don't know - what's the exact difference between 
>>> FileHeader and PresentationHeader? As in - which one is meant for what 
>>> exactly? Neither the source nor Google were clear on that.
>>>
>>> Greetings, Lilianne
>>>     
>>
>>
>> _______________________________________________
>> logback-dev mailing list
>> [email protected]
>> http://qos.ch/mailman/listinfo/logback-dev
>>   
> _______________________________________________
> logback-dev mailing list
> [email protected]
> http://qos.ch/mailman/listinfo/logback-dev
> 
> 



_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to