The log file that contains information about posted messages has a structured layout for both readability and to enable users to use the log for other purposes - reporting, for instance. The posting log file naming convention is:
"yyyymmdd_crWebBB_Log.txt"
The files are located in the application directory (the folder where you installed crWebBB). There is a file for each day – as an example, the posting log for January 20, 2007 would be named "20070120_crWebBB_Log.txt".
The posting log files are kept for 31 days before being deleted, providing a rolling 31-day history of posting activity.
Each field in the structure always has one space character appended to the end of the field, for readability when viewing in a text editor. Therefore, the useable data in each field is the listed field length minus 1.
Start Pos |
Field |
Length |
Usage |
1 |
Date |
11 |
The date of posting, in mm/dd/yyyy format, plus a pad character. |
12 |
Time |
13 |
The time of posting, in hh:mm:ss.zzz format, plus a pad character. |
25 |
Cart Number |
5 |
The 4-digiit cart number for which the information was posted, plus a pad character. |
30 |
Category |
26 |
The name of the cart category for the message, plus a pad character. |
56 |
Source |
11 |
The source is the information source used to generate the message. See the list of documented sources below. |
67 |
Status |
11 |
The status of the posting. Typically, it would either be "OK" or "Fail", but there are others with special meanings. See the list of documented status types below. |
78 |
Title |
71 |
If the cart is a music cart, the song title is listed here. If the information was retrieved from an inventory file, the text is the inventory cart description. |
149 |
Artist |
71 |
If the cart is a music cart, the artist is listed here. If an alternate message was used, the message description from the messages table is used. If this item could not be posted, the status will be reported as a failure and the error text is placed in this field. |
These are the potential values for the Source field in the posting table, along with their meaning.
Source Values |
Meaning |
None |
No source of information was available or source information is not applicable. For instance, "None" is used at program startup and shutdown to provide information in the posting file about program starts and stops. |
AltMsg |
The posted information was taken from the Alternate Messages table. |
Maestro |
The posted information was provided directly by Maestro. This would be the case if Maestro's "SendAllInfoToRemote" option is enabled. |
Inventory |
The posted information was obtained from a DCS or Maestro inventory file. The cart description was used. |
MusicDB |
A song's title and artist information was taken from crWebBB's music database. |
These are the potential values for the Status field in the posting table, along with their meaning.
Status Values |
Meaning |
OK |
The message was posted successfully. |
Failed |
The message could not be posted. The Artist field will contain the error text. |
Start Pgrm |
The program was started at the date and time of the record. |
Stop Pgrm |
The program was shut down at the date and time of the record. |