Użytkownik Ed Leafe napisał:
> On Dec 4, 2010, at 1:06 PM, Jacek Kałucki wrote:
>
>    
>> I use something like http://dabo.codepad.org/f7iV1sqB
>> to log messages in not frozen applications, you can put
>> this code in the startup script.
>> If you don't need file logging, just add:
>>
>> dbLogConsoleLevel = logging.DEBUG
>>
>> to your settings_override.py file.
>>      
>       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.

-- 
Regards
Jacek Kałucki

_______________________________________________
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]

Reply via email to