Difference between revisions of "X-Cart:Logs"

From X-Cart 4 Classic
Jump to: navigation, search
(Created page with 'X-Cart logs are stored in the directory <u>/xcart/var/log</u>. '<u>Logs</u>' section of your X-Cart based store's back end allows you to view and manage X-Cart logs via your stor…')
 
Line 1: Line 1:
X-Cart logs are stored in the directory <u>/xcart/var/log</u>. '<u>Logs</u>' section of your X-Cart based store's back end allows you to view and manage X-Cart logs via your store's interface.
+
X-Cart logs are stored in the <u>/xcart/var/log</u> directory. The '<u>Logs</u>' section of your X-Cart store's Admin area allows you to view and manage X-Cart logs via your store's interface.
  
'''To access '<u>Logs</u>' section:'''
+
'''To access the '<u>Logs</u>' section:'''
  
# Go to the '<u>Summary</u>' section of the store Admin area (<u>Administration menu->Summary</u>).
+
# Login to the Admin area of your X-Cart store.
# In the '<u>Summary</u>' section menu, click the link <u>Logs</u>.
+
# Select <u>Tools</u> -> <u>Maintenance</u> on the menu.
 +
# On the <u>Maintenance</u> page, click on the <u>See also</u> tab and then click on the <u>Logs</u> link on the tab that appears.
  
 
In  the '<u>Logs</u>' section, you can see a dialog box titled '<u>View shop logs</u>':
 
In  the '<u>Logs</u>' section, you can see a dialog box titled '<u>View shop logs</u>':
Line 12: Line 13:
  
  
You can use this dialog box to view and manage X-Cart logs.
+
You can use this form to view and manage your X-Cart store's logs.
  
 
'''To view logs for a specific period:'''
 
'''To view logs for a specific period:'''
  
# Select the period for which you wish to view log records. Select one of the preset options (All dates, This month, This week, Today) or specify an exact period (Select Specify the period below and enter the desired period into the '<u>Log date</u> <u>from</u>' and '<u>Log date through</u>' fields).
+
1. Select the period you want to view log records for.
# Select the types of log records you wish to view (select the respective check boxes).
 
# Use the '<u>View N latest records</u>' field to specify how many records from each of the selected logs you wish to be displayed. For example, if you set this value to "5", X-Cart will display five most recent records from each of the logs you have selected. To view all records, set this value to "0" (zero).
 
# Click the '''Search''' button.
 
  
When you click '''Search''', the selected log records are displayed in the '<u>Search results</u>' section below.
+
: You can select one of the preset options (All dates, This month, This week, Today) or specify an exact period (Select 'Specify the period below' and then enter the desired period in the '<u>Log date from</u>' and '<u>Log date through</u>' fields).
 +
 
 +
2. Select the types of log records to be shown (select the respective check boxes).
 +
 
 +
3. In the '''View N latest records''' field, specify how many records from each selected log you want to see. For example, setting this parameter to "5" displays five most recent records from each of the logs you have selected. To view all the records, set this parameter to "0" (zero).
 +
 
 +
4. Click the '''Search''' button.
 +
 
 +
Clicking the '''Search''' button opens the selected log records in the '<u>Search results</u>' section below.
  
 
'''To clear logs for a specific period:'''
 
'''To clear logs for a specific period:'''
  
# Select the period for which you wish log records to be removed. Select one of the preset options (All dates, This month, This week, Today) or specify an exact period (Select Specify the period below and enter the desired period into the '<u>Log date</u> <u>from</u>' and '<u>Log date through</u>' fields).
+
1. Select the period you to clear log records for.
# Select the types of log records you wish to be removed (select the respective check boxes).
+
 
# Click the Clean selected logs button.
+
: You can select one of the preset options (All dates, This month, This week, Today) or specify an exact period (Select 'Specify the period below' and then enter the desired period in the '<u>Log date from</u>' and '<u>Log date through</u>' fields).
 +
 
 +
2. Select the types of log records to be cleared (select the respective check boxes).
 +
 
 +
3. Click the '''Clean selected logs''' button.
  
When you click '''Clean selected logs''', the selected log records are removed.
+
Clicking the '''Clean selected logs''' button empties the selected log files.

Revision as of 13:23, 7 February 2011

X-Cart logs are stored in the /xcart/var/log directory. The 'Logs' section of your X-Cart store's Admin area allows you to view and manage X-Cart logs via your store's interface.

To access the 'Logs' section:

  1. Login to the Admin area of your X-Cart store.
  2. Select Tools -> Maintenance on the menu.
  3. On the Maintenance page, click on the See also tab and then click on the Logs link on the tab that appears.

In the 'Logs' section, you can see a dialog box titled 'View shop logs':


Logs.gif


You can use this form to view and manage your X-Cart store's logs.

To view logs for a specific period:

1. Select the period you want to view log records for.

You can select one of the preset options (All dates, This month, This week, Today) or specify an exact period (Select 'Specify the period below' and then enter the desired period in the 'Log date from' and 'Log date through' fields).

2. Select the types of log records to be shown (select the respective check boxes).

3. In the View N latest records field, specify how many records from each selected log you want to see. For example, setting this parameter to "5" displays five most recent records from each of the logs you have selected. To view all the records, set this parameter to "0" (zero).

4. Click the Search button.

Clicking the Search button opens the selected log records in the 'Search results' section below.

To clear logs for a specific period:

1. Select the period you to clear log records for.

You can select one of the preset options (All dates, This month, This week, Today) or specify an exact period (Select 'Specify the period below' and then enter the desired period in the 'Log date from' and 'Log date through' fields).

2. Select the types of log records to be cleared (select the respective check boxes).

3. Click the Clean selected logs button.

Clicking the Clean selected logs button empties the selected log files.