On Dec 4, 2010, at 4:25 PM, Jacek Kałucki wrote:
>> Even simpler: just add:
>>
>> dbLogFile = "/path/to/my/db.log"
>>
> Yes, it's simpler. But it's not such flexible because assume fixed
> log file path, which can vary across different machines.
> On Windows e.g. application shouldn't write any data
> in application directory.
OK, I was just making the point that you don't have to create your own
logger and handler. You could do:
dbLogFile = getMyLogPath()
... and put your pathing logic into its own method. But you don't have to
create your own logger.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]