Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #12848

Re: Logging problem

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Logging problem
Date 2012-03-10 10:10 -0800
Organization albasani.net
Message-ID <jjg5eq$spf$1@news.albasani.net> (permalink)
References (5 earlier) <XnsA011A83F55743jpnasty@94.75.214.39> <11598111.961.1331330200504.JavaMail.geo-discussion-forums@pbcr5> <XnsA011B6A6E1BB4jpnasty@94.75.214.39> <jjftj9$b8q$1@news.albasani.net> <4f5b89e8$0$283$14726298@news.sunsite.dk>

Show all headers | View raw


Arne Vajhøj wrote:
> Lew wrote:
>> Novice wrote:
>>> Lew wrote:
>>>> Novice wrote:
>>>>> Arved Sandstrom wrote:
>>>>>> Novice wrote:
>>>>>> [ SNIP ]
>>>>>>>
>>>>>>> It would be very helpful if someone could explain what would
>>>>>>> happen in a real-world production situation where a long-running
>>>>>>> batch program or a constantly-running online program started
>>>>>>> writing error messages to the log. What will operators do to be
>>>>>>> able to read the log? I'm guessing they force it to close early
>>>>>>> and then start a new file or they have a tool that will read the
>>>>>>> log file correctly even without the final</log> tag.
>>>>
>>>> As mentioned, "tail" or "tail -f".
>>>>
>>>> Or vi or emacs.
>>>>
>>>> Or "less".
>>>>
>>>> Or just about anything.
>>>>
>>> Okay. As I said, my Unix/Linux is pretty rusty.
>>
>> Wha...?
>>
>> These programs run on Windows, too.
>>
>> This is about OSes. Windows is like Linux in this regard.
>
> You can get them for Windows.
>
> But they are not that common on Windows.

True, but irrelevant. The point is that they are just programs, and that the 
issue at hand is operating system behavior, not program behavior. What program 
is involved has no bearing - the ability to read from a file as it's being 
written is a function of the OS and file system, inherently so. It doesn't 
matter what program we cite. I mentioned that they run on Windows, too, to 
point out that the behavior is not inherent to the program. That point is 
unaffected by how common the program is. There are plenty of programs on 
Windows, too. If you don't like my example, please extend the reasoning on 
your own to apply to whatever program you do like as an example.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Logging problem Novice <novice@example..com> - 2012-03-08 19:38 +0000
  Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 14:48 -0500
    Re: Logging problem Novice <novice@example..com> - 2012-03-08 20:06 +0000
      Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 15:38 -0500
        Re: Logging problem Martin Gregorie <martin@address-in-sig.invalid> - 2012-03-08 22:02 +0000
      Re: Logging problem Patricia Shanahan <pats@acm.org> - 2012-03-08 14:53 -0800
        Re: Logging problem markspace <-@.> - 2012-03-08 15:20 -0800
          Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 19:48 -0500
            Re: Logging problem Patricia Shanahan <pats@acm.org> - 2012-03-08 17:17 -0800
              Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 20:55 -0500
                Re: Logging problem markspace <-@.> - 2012-03-08 18:01 -0800
                Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 21:19 -0500
      Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 20:56 -0500
  Re: Logging problem markspace <-@.> - 2012-03-08 14:18 -0800
    Re: Logging problem Novice <novice@example..com> - 2012-03-09 01:53 +0000
      Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 20:59 -0500
      Re: Logging problem Novice <novice@example..com> - 2012-03-09 05:36 +0000
        Re: Logging problem Patricia Shanahan <pats@acm.org> - 2012-03-09 06:27 -0800
        Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-09 12:31 -0500
          Re: Logging problem Novice <novice@example..com> - 2012-03-09 18:57 +0000
            Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-09 14:26 -0500
        Re: Logging problem Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-09 15:59 -0400
          Re: Logging problem Novice <novice@example..com> - 2012-03-09 21:32 +0000
            Re: Logging problem Lew <lewbloch@gmail.com> - 2012-03-09 13:56 -0800
              Re: Logging problem Novice <novice@example..com> - 2012-03-09 22:57 +0000
                Re: Logging problem Martin Gregorie <martin@address-in-sig.invalid> - 2012-03-10 14:51 +0000
                Re: Logging problem Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-10 13:00 -0400
                Re: Logging problem Lew <noone@lewscanon.com> - 2012-03-10 10:04 -0800
                Re: Logging problem Martin Gregorie <martin@address-in-sig.invalid> - 2012-03-10 20:23 +0000
                Re: Logging problem Lew <noone@lewscanon.com> - 2012-03-10 07:56 -0800
                Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-10 12:05 -0500
                Re: Logging problem Lew <noone@lewscanon.com> - 2012-03-10 10:10 -0800
                Re: Logging problem Arne Vajhøj <arne@vajhoej.dk> - 2012-03-12 16:13 -0400
                Re: Logging problem Novice <novice@example..com> - 2012-03-10 20:10 +0000
            Re: Logging problem Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-09 19:15 -0400
              Re: Logging problem Novice <novice@example..com> - 2012-03-10 01:59 +0000

csiph-web