Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Failure to import log file

When using License Statistics to import data, partial/rotated logs are not supported; if associated checkins/checkouts are not contained in the same log file, the data import may fail. In such cases, you will see an error message such as: "Cannot import log file. Checkin at line 177 references a checkout from an earlier log file. Merge the log files and try again." (Where line 177 is the line that contains the checkin that has no associated checkout contained in the same log file.)

...

where file1 file2... filen are the names of any number of files to be merged and output.txt is the name of the file that will result from the merge.

Merging CodeCollaborator log files

CodeCollabolator rotates log files when the file reaches 10 MB. Merging the rotated log files will generate more accurate data than a "license.log" file. 

...

cat collab.log.n ... collab.log.1 collab.log >> import.log

"Ignoring the negative user status from log" error

When importing a log to License Statistics, you may see the following warning in the License Statistics log file:

[2011-01-16 08:30:56] NOTICE: Importing log file C:\Program Files\X-Formation\License Statistics\importlog\slbfd.rl. Depending on file size importing can take several hours!
[2011-01-16 08:30:58] WARNING: Ignoring the negative user status from log!

This warning can occur if borrow borrowed licenses are checked out before logging starts and checked back in after logging starts. This results in borrow borrowed checkins with no matching checkouts, which are ignored and produce this warning.

...