All of lore.kernel.org
 help / color / mirror / Atom feed
* 'log dir' directive respected no longer?
@ 2011-08-25  6:16 Brian Chrisman
  2011-08-25  7:12 ` Wido den Hollander
  2011-08-25 18:33 ` Colin Patrick McCabe
  0 siblings, 2 replies; 3+ messages in thread
From: Brian Chrisman @ 2011-08-25  6:16 UTC (permalink / raw)
  To: ceph-devel

I've noticed the 'log dir' directive in my ceph.conf no longer tells
logs where to go.
Am I missing something?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 'log dir' directive respected no longer?
  2011-08-25  6:16 'log dir' directive respected no longer? Brian Chrisman
@ 2011-08-25  7:12 ` Wido den Hollander
  2011-08-25 18:33 ` Colin Patrick McCabe
  1 sibling, 0 replies; 3+ messages in thread
From: Wido den Hollander @ 2011-08-25  7:12 UTC (permalink / raw)
  To: Brian Chrisman; +Cc: ceph-devel

Hi,

On Wed, 2011-08-24 at 23:16 -0700, Brian Chrisman wrote:
> I've noticed the 'log dir' directive in my ceph.conf no longer tells
> logs where to go.
> Am I missing something?

You probably are. The 'log dir' directive has become obsolete a few
versions back (not sure which one though).

There have been some discussions about this on IRC:
* http://irclogs.ceph.widodh.nl/index.php?date=2011-04-05
* http://irclogs.ceph.widodh.nl/index.php?date=2011-04-14

Anyway, stick with 'log file = /var/log/ceph/$name.$id.log', that should
work.

Wido

> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 'log dir' directive respected no longer?
  2011-08-25  6:16 'log dir' directive respected no longer? Brian Chrisman
  2011-08-25  7:12 ` Wido den Hollander
@ 2011-08-25 18:33 ` Colin Patrick McCabe
  1 sibling, 0 replies; 3+ messages in thread
From: Colin Patrick McCabe @ 2011-08-25 18:33 UTC (permalink / raw)
  To: Brian Chrisman; +Cc: ceph-devel

As Wido said, "log dir" has been removed and replaced by "log file."

Basically log_dir = foo was equivalent to something like log_file =
foo/$name.$id.log

The problem with the log_dir directive is that the behavior was
confusing if users supplied both log_dir and log_file in their
configuration files. Since log_file defaults to something like
/var/log/ceph/$name.$id.log for daemons, this tended to happen a lot.
log_file can do everything log_dir did, plus more, so we dropped the
old directive.

sincerely,
Colin


On Wed, Aug 24, 2011 at 11:16 PM, Brian Chrisman <brchrisman@gmail.com> wrote:
> I've noticed the 'log dir' directive in my ceph.conf no longer tells
> logs where to go.
> Am I missing something?
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-25 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-25  6:16 'log dir' directive respected no longer? Brian Chrisman
2011-08-25  7:12 ` Wido den Hollander
2011-08-25 18:33 ` Colin Patrick McCabe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.