bugVarnamproject - Bugs: bug #41754, [varnam-ibus] Logs should go to...

 
 

bug #41754: [varnam-ibus] Logs should go to the standard directory

Submitter:  Navaneeth <navaneethkn>
Submitted:  Sun 02 Mar 2014 04:08:10 PM UTC
   
 
Category:  libvarnam-ibus-engine Severity:  3 - Normal
Item Group:  * Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 18 Mar 2014 04:47:26 PM UTC, comment #2: 
kiran <pskirann>
Sat 15 Mar 2014 04:15:57 AM UTC, comment #1: 

Hello Kiran,

I have looked into the patch. Few problems.

  • Patch won't get applied cleanly. Getting error "error: engine-util.c: No such file or directory". Have you generated the patch after pulling all latest changes?


  • You seems to be logging into "/var/log/varnam". This won't work as /var/log don't have write permissions for non-root programs. You need to write to `$HOME/.local/share/varnam/logs`. Your code should also take XDG specification into account. See - http://freedesktop.org/wiki/Specifications/basedir-spec/. Mostly XDG_DATA_HOME environment varible. If it is set, use that as your base directory. Or else use $HOME/.local/share


  • Don't attach the patch here. Submit a pull request on Gitorious and leave a comment here.
Navaneeth <navaneethkn>
Group administrator
Sun 02 Mar 2014 04:08:10 PM UTC, original submission:  

Currently log files are written to config directory. This is wrong and it should go to the standard defined logs directory.

Navaneeth <navaneethkn>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #30893:  varnamproject-libvarnam-ibus.patch added by pskirann (1000B - text/x-patch - patch -p1 < ../varnamproject-libvarnam-ibus.patch )

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pskirann (Updated the item)
  • -email is unavailable- added by navaneethkn (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-14 pskirann Attached File- Added varnamproject-libvarnam-ibus.patch, #30893
    2014-03-02 navaneethkn Summary[varnam-ibus] Logs should got to the standard directory [varnam-ibus] Logs should go to the standard directory

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code