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

Re: logging of "loved" output

Bryan Stansell bryan@conserver.com
Wed, 22 Jun 2005 15:20:43 -0700 (PDT)


On Wed, Jun 22, 2005 at 03:37:48PM -0400, Kevin Korb wrote:
> Those are different line numbers than what you said but the text looks
> to be the same.  The patch didn't seem to have any effect.  All I get on
> stdout is the login/logout messages with nothing in between.

you zapped the wrong lines.  you want to keep the 'unloved' stuff and
nuke the 'pCLwr' stuff.

> There is a difference in how conserver treats CRLF between -u and -U
> because when I run -Ufile I get 1 timestamp at the top and then never
> get another one.  The only time -U logs timestamps is when I am actually
> logged in.

huh?  as i said, conserver doesn't do anything different between the two
methods...they both output the same data.

now, interpreting things a bit differently, based on hints above, it
could be that file buffering is biting you.  stuff going to the file
based on -U will, by default, be buffered to a block at a time...instead
of line based or character based.  is *that* what's happening?  (all
file output is that way, actually).

what confuses me is you're saying things behave differently when you're
logged in.  i'm not seeing that behavior.  if you could specify how to
reproduce the problem, that would be good.  

your other message said the 'logfile' option helped.  that just sends
stuff that would have been stdout/stderr to a file.  unless you hacked
the -u code, you still wouldn't get output when users are attached.

basically, i'm thoroughly confused.  i'm glad it's working for you, but
i'm hoping that if there are issues, i can get more details and fix
things.

Bryan