hi, It's quite convenient to use Log4j for writing 'special' log messages into a 'Excel-like' file with the .xls extention . The pattern layout can contain tab delimited values in order to build a csv file, directly accessible via the http server with the proper mime-type information (i.e. asking the web browser to open automaticcaly Excel). It works fine but it would be great if a title could persist along the creation of each new log file !
Would'nt it be a usefull feature to implement a new parameter, for example "title" of the following form : <appender name="STAT" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="/tmp/stat.xls" /> <param name="DatePattern" value="'.'yyyy-MM'.xls'" /> <param name="Title" value="aaaaa\tbbbbbbb\tcccccccc\tddddd\teeee\r" /> This title would be writen to each new log file prior to write 'normal' log messages ... Best regards --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
