Log File Question - Protocols

This is a discussion on Log File Question - Protocols ; We use kermit to move files from system to system on our WAN and have been very pleased with it. When running our kermit scripts from K95 console, the log file is appended normally. However when we run the same ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Log File Question

  1. Log File Question

    We use kermit to move files from system to system on our WAN and have
    been very pleased with it.

    When running our kermit scripts from K95 console, the log file is
    appended normally. However when we run the same script from windows XP
    scheduled task, the logs are not appended, but the script runs fine
    otherwise. I discovered that the the log file names we were using
    ("upload.log" and "ri_transfer.log") were the issue. When I changed
    the log file names to "blah.log" they worked fine in both the scheduled
    task and from the console.

    Are there any rules about how log files should be named? Am I crazy?

    I am running Kermit 95, version 2.1.3, on Windows XP Pro SP1.
    Thanks.
    Wes


  2. Re: Log File Question

    On 2005-01-19, Wes wrote:
    : We use kermit to move files from system to system on our WAN and have
    : been very pleased with it.
    :
    : When running our kermit scripts from K95 console, the log file is
    : appended normally. However when we run the same script from windows XP
    : scheduled task, the logs are not appended, but the script runs fine
    : otherwise. I discovered that the the log file names we were using
    : ("upload.log" and "ri_transfer.log") were the issue. When I changed
    : the log file names to "blah.log" they worked fine in both the scheduled
    : task and from the console.
    :
    Not in Kermit. The only issue might be whether the Windows permissions
    (and other accessibility criteria, such as owner) on upload.log are
    different from those on blah.log Could be that "Windows" cares more
    about this than "DOS" -- i.e. the Console environment might not have access
    the extra file info and so merrily allows appending even if the permissions
    forbid it. Just a guess. Anything can happen in Windows, and usually
    does.

    > Am I crazy?
    >

    I hope not!

    > I am running Kermit 95, version 2.1.3, on Windows XP Pro SP1.


    I'd say all's well that ends well.

    - Frank

  3. Re: Log File Question

    When running as a scheduled task K95 is running under the SYSTEM
    account. There should not be any restrictions on what file names
    can be used from the SYSTEM account. Using LOG DEBUG, CLOSE DEBUG
    around the script creation might produce some entries in the
    resulting debug.log file which could point in the reason for the
    denial.

    Jeffrey Altman


    Wes wrote:
    > We use kermit to move files from system to system on our WAN and have
    > been very pleased with it.
    >
    > When running our kermit scripts from K95 console, the log file is
    > appended normally. However when we run the same script from windows XP
    > scheduled task, the logs are not appended, but the script runs fine
    > otherwise. I discovered that the the log file names we were using
    > ("upload.log" and "ri_transfer.log") were the issue. When I changed
    > the log file names to "blah.log" they worked fine in both the scheduled
    > task and from the console.
    >
    > Are there any rules about how log files should be named? Am I crazy?
    >
    > I am running Kermit 95, version 2.1.3, on Windows XP Pro SP1.
    > Thanks.
    > Wes
    >


    --
    -----------------
    This e-mail account is not read on a regular basis.
    Please send private responses to jaltman at mit dot edu

  4. Re: Log File Question


    Wes wrote:
    >
    > When running our kermit scripts from K95 console, the log file is
    > appended normally. However when we run the same script from windows

    XP
    > scheduled task, the logs are not appended, but the script runs fine
    > otherwise. I discovered that the the log file names we were using
    > ("upload.log" and "ri_transfer.log") were the issue. When I changed
    > the log file names to "blah.log" they worked fine in both the

    scheduled
    > task and from the console.
    >
    > Are there any rules about how log files should be named? Am I crazy?
    >
    > I am running Kermit 95, version 2.1.3, on Windows XP Pro SP1.


    The Windows system event viewer logs might give you some information.

    --
    Mark Sapiro msapiro at value net The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan


+ Reply to Thread