Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368933 - sys-apps/openrc: variable to change rc.log path in rc.conf request
Summary: sys-apps/openrc: variable to change rc.log path in rc.conf request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 374183
  Show dependency tree
 
Reported: 2011-05-27 18:18 UTC by Forza
Modified: 2011-07-06 01:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2011-05-27 18:18:15 UTC
We can now enable logging with OpenRC in rc.conf:

rc_logger="YES"

I would like to be able to change the path from /var/log/rc.log with a variable such as:

rc_logger_path="/some/other/path/rc.log"


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-05-28 20:05:52 UTC
i wonder if we cant just hijack the rc_logger variable
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2011-06-24 00:23:01 UTC
IMHO we should keep the rc_logger variable as it is and add a additional variable such as the proposed one.
Using the rc_logger option to specify a) a logfile/path and b) enable/disable logging at all could confuse some people. If that is what you meant..
Comment 3 SpanKY gentoo-dev 2011-06-24 00:27:13 UTC
that is what i meant.  *shrug* i dont think it'd be confusing, but i dont feel strongly either way.
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2011-07-05 23:04:14 UTC
This has been fixed in openrc-9999/Git by commit 44dc7db4f89382fe198d1115a20d30ceb10cce02

http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=44dc7db4