| Author |  | 
      
        | Snoogz Newbie
 
  
 
 Joined: 07 March 2016
 Location: United States
 Online Status: Offline
 Posts: 4
 | 
          Hello,
           | Posted: 22 December 2016 at 2:14pm | IP Logged |   |  
           | 
 |  
 Is there any built in way to format the timestamps on the logs to display in the locale format,.e.g., I need to format the timestamps to be in DD/MM/YYYY but they're currently in MM/DD/YYYY.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Hi,
           | Posted: 23 December 2016 at 2:45am | IP Logged |   |  
           | 
 |  
 You can subscribe to LogNewEntry event (e.g. for Imap object) and write data in your own format (or even into different destination, e.g. utilize log4net, write to db or whatever).
 
 http://www.afterlogic.com/mailbee-net/docs/#MailBee.ImapMail.Imap.LogNewEntry.html
 
 In upcoming v11, there will be special property to control datetime format:
 
 imap.Log.DateTimeFormatFull = @"dd\/MM\/yyyy HH:mm:ss.ff";
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |