Changes between Version 14 and Version 15 of UnifiedLogger
- Timestamp:
- 09/01/2022 01:33:30 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UnifiedLogger
v14 v15 30 30 ActivityLogSummaryFilename = data_summary.json 31 31 }}} 32 The `UnifiedLogPath` option is to specify the path to the folder in which the `CADcomments.log` input file exists, and the output CSV file is to be created. ''Perhaps this isn't necessary; I can't think of a situation where this would change.'' Similarly, the `ActivityLogPath` specifies the path to the folder in which the Activity Log ("data.json") file exists. (This is "activitylog" on production system.) When deployed to the web server, this path will be different than when testing on a local server. The `Files` section specifies the filenames of the activity log files, as they are produced by Neil's Activity Log.32 The `UnifiedLogPath` option is to specify the path to the folder in which the `CADcomments.log` input file exists, and the output CSV file is to be created. ''Perhaps this isn't necessary; I can't think of a situation where this would change.'' Similarly, the `ActivityLogPath` specifies the path to the folder in which the Activity Log ("data.json") file exists. (This is "activitylog" on production system.) When deployed to the web server, this path will be different than when testing on a local server. The `Files` section specifies the filenames of the activity log files, as they are produced by Neil's Activity Log. 33 33 34 34 Optionally, `application_properties.cfg` can be placed in `config` folder. For example, … … 47 47 48 48 === Packaging === 49 The source code is in the `src/python/unifiedlogger` folder. The `package.sh` script found in that folder should be run to package the source files into a zip file and place it in the `deploy` folder. (Update 2022.9.1: `package.sh` is missing.)49 The source code is in the `src/python/unifiedlogger` folder. Use the script in `trunk/bin/mkunifiedloggerzip.sh` to package the source files into a zip file and place it in the `deploy` folder. 50 50 51 51 === Testing === … … 86 86 87 87 === Deploying on Apache Server === 88 Copy `unifiedlogger.zip` and `unifiedlogmonitor.html` to `webapps` folder on `W:` drive.[[BR]] Copy `loggingservice.cfg` and `application_properties.cfg` to `config` folder (at same level as `webapps` folder).[[BR]] Start the application: `python webapps/unifiedlogger.zip` 88 Copy `unifiedlogger.zip` and `unifiedlogmonitor.html` to `webapps` folder on `W:` drive. 89 90 Modify the entry in `logging_service.cfg` to reflect the location of activity log files on the production webserver, probably: `ActivityLogPath = activitylog` 91 92 Copy `logging_service.cfg` and `application_properties.cfg` to `config` folder (at same level as `webapps` folder).[[BR]] From the webserver home directory, start the application: `python webapps/unifiedlogger.zip` 89 93 90 94 === Running as a background service ===
