Hello,
current file is always that one specified in File property. When rolling
is trigerred (for example date is changed), current file is renamed and
new file with name specified id File property is created.
R


________________________________

        From: Satish Musunuru [mailto:[EMAIL PROTECTED] 
        Sent: Friday, November 16, 2007 12:52 AM
        To: [email protected]
        Subject: Current file of RollingFileAppender
        
        

        Hi, 
          How do I get the current file that a RollingFileAppender is
writing to? If I say 
        ((RollingFileAppender)appender).File; 
        I always get .txt instead of .txt.2 or .txt.3 or whatever the
current file happens to be. 

        Thanks, 
         Satish 

Reply via email to