Difference between revisions of "ColdFusion Error Log"
(Created page with "<h1>ColdFusion Error Log</h1> <p>In this wiki, you’ll learn how to view your sites ColdFusion server and application logs from within WCP.</p> <br /> <ol style="list-styl...") |
|||
Line 2: | Line 2: | ||
− | <p> | + | ==What is the ColdFusion Error Log?== |
+ | <p>There are two types of logs that could contain information about your site. First on the list here is the Server error logs, and the second is logs created by using the cflog tag.. | ||
+ | <br /><br /> | ||
+ | <ul> | ||
+ | <li>''''ColdFusion Server Errors'''': The errors reported here are errors that your site are throwing in ColdFusion. NOTE: Our production servers should not be used for development, so you should be doing your development work on your local machine. However, if your site is throwing an error, this will give you the ability to see that error.</li> | ||
+ | <br /> | ||
+ | <li>''''cflog tag logging'''': NOTE: We strongly suggest to not use the "information" type. We also suggest to only set the type to "error" or "fatal" on the production servers. ColdFusion writes the logs to a system path. For security purposes, your cflog logs will only appear hear if you have given the file name in the cflog tag the name of your domain, without the www. For example, if your domain is your_domain.com you would set the file attribute for the cflog tag like: file="your_domain.com"</li> | ||
+ | </ul> | ||
<br /> | <br /> | ||
+ | |||
+ | Let's go ahead and show how to view your domains server and application error logs.</p> | ||
+ | |||
+ | ==How to access the ColdFusion error logs in WCP== | ||
+ | |||
+ | We'll share the steps needed to get to the ColdFusion error logs below: | ||
+ | <br /><br /> | ||
<ol style="list-style-type: decimal;"> | <ol style="list-style-type: decimal;"> | ||
+ | <li><p>First login to your WCP control panel for the account the domain is under: https://wcp.hostek.com</p> | ||
+ | [[file:wcp_url_secure.png]] | ||
+ | <br /><Br /> | ||
+ | <p>If you have any issues with logging into WCP then please see our tutorials on [[Forgot_WCP_Password|recovering your password]] if necessary</p></li></ol> | ||
− | |||
− | |||
− | |||
− | |||
<br /> | <br /> | ||
− | <li><p> | + | <ol start="2" style="list-style-type: decimal;"> |
− | [[ | + | <li><p>Once logged into WCP if you have multiple domains you may need to select the appropriate domain to manage using the ''''Hosted Domains'''' drop-down in the top-right of the page as shown in the screenshot below:</p> |
+ | [[file:wcp_change_domain.png]] | ||
+ | <br /><br /> | ||
+ | </li></ol> | ||
+ | |||
+ | <br /> | ||
+ | |||
+ | <ol start="3" style="list-style-type: decimal;"> | ||
+ | <li><p>Once in the correct domains WCP control panel click on the ''''ColdFusion Error Logs'''' icon under the ''''ColdFusion'''' section.</p> | ||
+ | [[file:CFErrorButton.PNG]] | ||
+ | <br /><br /> | ||
</li> | </li> | ||
− | |||
− | |||
− | |||
− | |||
− | <li><p>Choose the Server Error Logs tab | + | ===View Server Error Logs=== |
+ | |||
+ | <ol> | ||
+ | <li><p>Choose the Server Error Logs tab..</p> | ||
[[File:ServerLogs.PNG]] | [[File:ServerLogs.PNG]] | ||
</li> | </li> | ||
Line 30: | Line 53: | ||
<p>This will allow the error text to be wrapped within the text frame to prevent the need for scrolling to see the entire message.</p> | <p>This will allow the error text to be wrapped within the text frame to prevent the need for scrolling to see the entire message.</p> | ||
[[File:WrapText.PNG]] | [[File:WrapText.PNG]] | ||
− | |||
<li><p>''''Hours''''</p></li> | <li><p>''''Hours''''</p></li> | ||
Line 39: | Line 61: | ||
<p>This will populate the Server Error Logs text box with any related error logs.</p> | <p>This will populate the Server Error Logs text box with any related error logs.</p> | ||
[[File:Update.PNG]] | [[File:Update.PNG]] | ||
− | |||
<li><p>''''Server Error Logs'''' text box.</p></li> | <li><p>''''Server Error Logs'''' text box.</p></li> | ||
<p>This box will display the server error logs for your domain within the time frame you have choosen.</p> | <p>This box will display the server error logs for your domain within the time frame you have choosen.</p> | ||
[[File:ServerLogs2.PNG]] | [[File:ServerLogs2.PNG]] | ||
− | </ | + | </ol> |
− | + | ===View Application Error Logs=== | |
− | + | ||
− | <li><p>Choose the Application Error Logs tab | + | <ol> |
+ | <li><p>Choose the Application Error Logs tab.</p> | ||
[[File:ApplicationLogs.PNG]] | [[File:ApplicationLogs.PNG]] | ||
</li> | </li> | ||
Line 74: | Line 95: | ||
<p>This box will display the server error logs for your domain within the time frame you have choosen.</p> | <p>This box will display the server error logs for your domain within the time frame you have choosen.</p> | ||
[[File:ApplicationLogsText1.PNG]] | [[File:ApplicationLogsText1.PNG]] | ||
− | |||
</ol> | </ol> | ||
[[Category:WCP (Windows based Control Panel)]] | [[Category:WCP (Windows based Control Panel)]] |
Revision as of 16:23, 31 July 2017
Contents
ColdFusion Error Log
What is the ColdFusion Error Log?
There are two types of logs that could contain information about your site. First on the list here is the Server error logs, and the second is logs created by using the cflog tag..
- 'ColdFusion Server Errors': The errors reported here are errors that your site are throwing in ColdFusion. NOTE: Our production servers should not be used for development, so you should be doing your development work on your local machine. However, if your site is throwing an error, this will give you the ability to see that error.
- 'cflog tag logging': NOTE: We strongly suggest to not use the "information" type. We also suggest to only set the type to "error" or "fatal" on the production servers. ColdFusion writes the logs to a system path. For security purposes, your cflog logs will only appear hear if you have given the file name in the cflog tag the name of your domain, without the www. For example, if your domain is your_domain.com you would set the file attribute for the cflog tag like: file="your_domain.com"
How to access the ColdFusion error logs in WCP
We'll share the steps needed to get to the ColdFusion error logs below:
First login to your WCP control panel for the account the domain is under: https://wcp.hostek.com
If you have any issues with logging into WCP then please see our tutorials on recovering your password if necessary
Once logged into WCP if you have multiple domains you may need to select the appropriate domain to manage using the 'Hosted Domains' drop-down in the top-right of the page as shown in the screenshot below:
Once in the correct domains WCP control panel click on the 'ColdFusion Error Logs' icon under the 'ColdFusion' section.
Choose the Server Error Logs tab..
'Wrap Text'
'Hours'
Click the 'Update' button.
'Server Error Logs' text box.
Choose the Application Error Logs tab.
'Wrap Text'
'Hours'
'Purge Logs'
Click the 'Update' button.
'Application Logs' text box.
View Server Error Logs
This will allow the error text to be wrapped within the text frame to prevent the need for scrolling to see the entire message.
Allows you to choose the amount of hours you wish to view logs for. (1-24 hours)
This will populate the Server Error Logs text box with any related error logs.
This box will display the server error logs for your domain within the time frame you have choosen.
View Application Error Logs
This will allow the error text to be wrapped within the text frame to prevent the need for scrolling to see the entire message.
Allows you to choose the amount of hours you wish to view logs for. (1-24 hours)
The purge logs button allows you to clear out all application error logs for your domain.
This will populate the Server Error Logs text box with any related error logs.
This box will display the server error logs for your domain within the time frame you have choosen.