dogtail-devel [Bug 375196] New: dogtail log files not written to configured directory



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=375196

  dogtail | Framework | Ver: CVS HEAD

           Summary: dogtail log files not written to configured directory
           Product: dogtail
           Version: CVS HEAD
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Framework
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: wscarter us ibm com
         QAContact: dogtail-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
In one of the Red Hat Magazine articles;
http://www.redhat.com/magazine/021jul06/features/dogtail/

It says you can customize/configure the dogtail log directory at runtime
using code similar to this;

>>>import os
>>>from dogtail.config import config
>>>config.scratchDir = os.path.join(os.environ['HOME'], 'dogtail')
>>>config.logDir = os.path.join(config.scratchDir, 'logs')
>>>config.dataDir = os.path.join(config.scratchDir, 'data')

However I find that when I attempt this the correct alternative
directories are created, but the log data is still written to
the default location; /tmp/dogtail/logs

Steps to reproduce:
1. See summary. In my case I was attempting to have the logs placed in the
current working directory.



Actual results:
Directories are created but no data written to them.

Expected results:


Does this happen every time?
Yes.

Other information:


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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