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

 
 

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

Submitted by:  Navaneeth <navaneethkn>
Submitted on:  Sun 02 Mar 2014 04:08:10 PM UTC  
 
Category: libvarnam-ibus-engineSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 18 Mar 2014 04:47:26 PM UTC, comment #2:

https://gitorious.org/varnamproject/pskiranns-libvarnam-ibus/commit/8d213e8c7b641e05c32103c291d8597573e16edd

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>
Project 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>
Project Administrator

 

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

Attach File(s):
   
   
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
  • -unavailable- added by pskirann (Updated the item)
  • -unavailable- added by navaneethkn (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 14 Mar 2014 08:14:42 AM UTCpskirannAttached File-=>Added varnamproject-libvarnam-ibus.patch, #30893
    Sun 02 Mar 2014 04:17:09 PM UTCnavaneethknSummary[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.1-cleanup