[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6376] trunk/LedgerSMB/Database.pm



Revision: 6376
          http://sourceforge.net/p/ledger-smb/code/6376
Author:   ehuelsmann
Date:     2014-01-04 23:19:26 +0000 (Sat, 04 Jan 2014)
Log Message:
-----------
Reverse process id and date so files get sorted in date ascending order.

Modified Paths:
--------------
    trunk/LedgerSMB/Database.pm

Modified: trunk/LedgerSMB/Database.pm
===================================================================
--- trunk/LedgerSMB/Database.pm	2014-01-04 23:18:39 UTC (rev 6375)
+++ trunk/LedgerSMB/Database.pm	2014-01-04 23:19:26 UTC (rev 6376)
@@ -46,7 +46,7 @@
 sub loader_log_filename {
     my $dt = DateTime->now();
     $dt =~ s/://g; # strip out disallowed Windows characters
-    return $temp . "/dblog_${$}_$dt";
+    return $temp . "/dblog_${dt}_$$";
 }
 
 my $logger = Log::Log4perl->get_logger('LedgerSMB::Database');

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits