RE: Set the Log level in CF5
Hi David, Tried answering this yesterday but my internet connection was down. I'm also on CF5, but on Unix, so i'm extrapolating from what i see in my cf.registry file. I'd say maybe try looking for all the keys named log* under hkey_local_machine\software\allaire\coldfusion\currentversion\. I don't really know that much about setup so i'm a little out of my depth. Let's turn this on its head: what are these warnings? If we can fix that... /t -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 5:50 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Sadly I don't have that key on my registry... (remember im using CF5) David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 11:12 Para: CF-Talk Asunto: RE: Set the Log level in CF5 check the registry - hkey_local_machine\software\allaire\coldfusion\currentversion\l ogging\lo gViewerFilters\CurrentFilter - see LogSeverity. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 5:00 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yes, nice idea.. But that not reduce the overload. Must have a way to set the Log Level.. undocumented of course.. David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:49 Para: CF-Talk Asunto: RE: Set the Log level in CF5 You could set up a scheduled task to rotate the application.log file every x amount of time and delete old log files. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 4:30 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yeah Right but that's only for My Custom Logs ... not for Coldfusion native Log files. Like application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Chris Norloff [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:00 Para: CF-Talk Asunto: Re: Set the Log level in CF5 True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201151 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Set the Log level in CF5
On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200951 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
cflog? -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 3:16 PM To: CF-Talk Subject: Re: Set the Log level in CF5 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200953 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Set the Log level in CF5
True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200958 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Set the Log level in CF5
On Thursday 31 Mar 2005 14:18 pm, RADEMAKERS Tanguy wrote: cflog? Doesn't count as a framework (like, say, log4cf), because you can't on the fly say 'only log at warning'. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200959 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
Yeah Right but that's only for My Custom Logs ... not for Coldfusion native Log files. Like application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Chris Norloff [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:00 Para: CF-Talk Asunto: Re: Set the Log level in CF5 True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200960 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
You could set up a scheduled task to rotate the application.log file every x amount of time and delete old log files. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 4:30 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yeah Right but that's only for My Custom Logs ... not for Coldfusion native Log files. Like application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Chris Norloff [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:00 Para: CF-Talk Asunto: Re: Set the Log level in CF5 True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200968 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
Yes, nice idea.. But that not reduce the overload. Must have a way to set the Log Level.. undocumented of course.. David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:49 Para: CF-Talk Asunto: RE: Set the Log level in CF5 You could set up a scheduled task to rotate the application.log file every x amount of time and delete old log files. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 4:30 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yeah Right but that's only for My Custom Logs ... not for Coldfusion native Log files. Like application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Chris Norloff [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:00 Para: CF-Talk Asunto: Re: Set the Log level in CF5 True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200970 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
check the registry - hkey_local_machine\software\allaire\coldfusion\currentversion\logging\lo gViewerFilters\CurrentFilter - see LogSeverity. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 5:00 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yes, nice idea.. But that not reduce the overload. Must have a way to set the Log Level.. undocumented of course.. David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:49 Para: CF-Talk Asunto: RE: Set the Log level in CF5 You could set up a scheduled task to rotate the application.log file every x amount of time and delete old log files. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 4:30 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yeah Right but that's only for My Custom Logs ... not for Coldfusion native Log files. Like application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Chris Norloff [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:00 Para: CF-Talk Asunto: Re: Set the Log level in CF5 True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200978 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
Sadly I don't have that key on my registry... (remember im using CF5) David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 11:12 Para: CF-Talk Asunto: RE: Set the Log level in CF5 check the registry - hkey_local_machine\software\allaire\coldfusion\currentversion\logging\lo gViewerFilters\CurrentFilter - see LogSeverity. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 5:00 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yes, nice idea.. But that not reduce the overload. Must have a way to set the Log Level.. undocumented of course.. David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:49 Para: CF-Talk Asunto: RE: Set the Log level in CF5 You could set up a scheduled task to rotate the application.log file every x amount of time and delete old log files. -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 4:30 PM To: CF-Talk Subject: RE: Set the Log level in CF5 Yeah Right but that's only for My Custom Logs ... not for Coldfusion native Log files. Like application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Chris Norloff [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:00 Para: CF-Talk Asunto: Re: Set the Log level in CF5 True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200994 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
You can log things in the same directory as application.log if you want. Whether it's part of 'Custom Logs' or 'native logging' doesn't affect your ability to get error/exception information into logs to review. Chris Norloff -- Original Message -- From: David Manriquez [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 10:30:25 -0400 Yeah Right but that's only for My Custom Logs ... not for Coldfusion native Log files. Like application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Chris Norloff [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 31 de Marzo de 2005 10:00 Para: CF-Talk Asunto: Re: Set the Log level in CF5 True, but you can do a lot with - cftry/catch, - the different types for cfcatch, - the error and cfcatch scopes, and - using cffile to write errors to a file. (We also made the error info available in 'View Source' by enclosing them in HTML comments. Not visible to the user, but can be seen with 'View Source'. Though you may not want this on Production! ) Chris Norloff -- Original Message -- From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Thu, 31 Mar 2005 14:15:51 +0100 On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote: i need to know if is possible to set the log level in CF5. CF doesn't have a native log framework. -- Tom Chiverton Advanced ColdFusion Programmer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201032 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Set the Log level in CF5
Please someone can help a bit with this.. I have 1500K of Log Warnings/.5 hours I know exactly why I have that but can solve quickly enough in my production box.. I need to deactivate or set the log level for application.log David Manriquez Desarrollador de Sistemas [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: David Manriquez [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 30 de Marzo de 2005 12:57 Para: CF-Talk Asunto: Set the Log level in CF5 Hi there... i need to know if is possible to set the log level in CF5. i want to set the severity of the logs i.e. dont want to log warnings any tips?... Saludos from Chile.! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200847 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54