Skip to main content
November 12, 2009
Question

Archive log do not save the current log.

  • November 12, 2009
  • 2 replies
  • 759 views

Hello,

We have just upgrade from CF7 to CF8 and we got a problem with the archive log feature.

When we connect to the administrative page to archive log file, the file is deleted, but the xxx.log.1 is not created.

Existing xxx.log.n and rename in xxx.log.n+1.

When the administrator authentication is disable "No authentication needed (not recommended)" The rotation is OK and the xxx.log.1 is created and correct... but not on all my servers.

I'm at Version                        8,0,1,195765

Any clue about what is going wrong?

Regards,

Yoann.

    This topic has been closed for replies.

    2 replies

    November 24, 2009

    Still no clue?

    I try to contact Adobe support for cold fusion, it's a nightmare, I spend half a day on phone / chat and still can't even register my product to ask for support.

    BKBK
    Community Expert
    Community Expert
    November 14, 2009
    When we connect to the administrative page to archive log file, the file is deleted, but the xxx.log.1 is not created

    Can you reproduce that? If not, then it could be that you mistakenly clicked on the delete button. It happens to be next to the archive button.

    Existing xxx.log.n and rename in xxx.log.n+1

    I would leave that to Coldfusion.

    When the administrator authentication is disable "No authentication needed (not recommended)"

    Could there be a link between authentication in the Administrator and the archiving of log files? I suspect not.

    What I expect to have an effect is the setting Logging Settings => Maximum number of archives. The administrator may have reached the current maximum number of archives.

    Increase that setting, say from 10 to 20. Press the button to Submit Changes. Do an archive test to see what happens.

    xxx.log.1 is created and correct... but not on all my servers

    Shouldn't each server's Administrator take care of its own log files? That's what I would expect.

    November 16, 2009

    Actually, I can reproduce, on my dev PC and on my dev server. Explotation team reproduce it also on virtual servers.

    I let CF do all the jobs (renaming the files too)

    I can't see a link between login and archive file log also, but there should be an side effect that affect it (main be authententication on a page that failed and lead to not processing a part of the job for example)

    Maximum number of archives is not a problem and works by deleting the last archive, not teh current one.

    Shouldn't each server's Administrator take care of its own log files? That's what I would expect.

    Yes, each server take care of it, but to have a daily log file rotation, an external tool log on each server to "click" on the archive button.