Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Where do archived log files go?

Community Beginner ,
Oct 04, 2006 Oct 04, 2006
Hi Guys,

This should be a simple one but is turning out to be a real pain. Where do the log files go when they are archived? I am looking in the logs directory but cannot find them anywhere ... even after searching the entire hard drive. I have maximum number of log files set to 10 and the maximum log file size set to 5000kb.

Thanks, Carl.
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 05, 2006 Oct 05, 2006
Files manually archived in the cfadministrator or automatically archived, remain in the original cfmx_root/logs directory. They have a numeric extension added to the file as in: "server.log.1".
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 05, 2006 Oct 05, 2006
Thanks for your post Ken.

I am looking in the directory specified under logging settings in the administrator. I can see all the other log files but none that are archived. I then search the entire hard disk but it returns nothing.

I am running CF 7 Enterprise with multiple instances but I would still think the log files would be archived *somewhere* on the machine. I do have metrics enabled but the archived log file does not show up in that directory either.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 06, 2006 Oct 06, 2006
I am using CFMX7.02 standalone. I find the logs archive to my standard logs directory as set on the log settings page.

What version of cfmx are you on and what platform. If you log outside of the cfmx_root directory tree, does CFMX have permissions on that directory? If you have changed the logging directory, you need to restart cfmx. After changing my logging directory to \cfmx_logs and restarting, all my logs showed in the new directory. I then clicked the archive button for each of the logs and found the files in cfmx_logs with numeric extensions. Do your files showup if you manually archive from the admin?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 07, 2008 Apr 07, 2008
LATEST
I'm having the same frustration as the original poster. I have CF8 installed under Apache HTTP Servers (windows) using the defaults mostly.

In CF7, if I archived a log file, the old file would be renamed with a numeric suffix (application.log.1, application.log.2, etc.) in the cf_root/logs subdirectory, and a new log file would be created. However, in CF8, the archive function seems to just delete the old file and create a new one. I've tried searching fot the archived file with no results. I've also restarted CF; still no archived logs found.

Is there something in the CF8 Administrator that must be explicitly set to active archiving? The only setting I see is "Maximum number of archives: 10" which is the default.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 20, 2006 Dec 20, 2006
Hi Ken,

Sorry for the lateness in replying. We have been really swamped over the past couple of months.....

We are using CFMX7.0.1 Enterprise on Windows Server 2003. But it seems to have fixed itself now. I can see the archived log files. Do not know why it is working now....
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources