1.8
Common configuration file parameters
7
1.8.1.2
Listening port
Mandatory.
•
Name:
ucs.local_listening_port = [port number]
•
Description:
Local TCP port to listen for incoming connections from UgCS server. Default is 5556.
•
Example:
ucs.local_listening_port = 5556
1.8.2
Logging configuration
1.8.2.1
Level
Optional.
•
Name:
log.level = [error
|
warning
|
info
|
debug]
•
Description:
Logging level.
•
Default:
info
•
Example:
log.level = debug
1.8.2.2
File path
Optional.
•
Name:
log.file_path = [path to a file]
•
Description:
Absolute or relative (to the current directory) path to a logging file. Logging is disabled if logging
file is not defined. File should be writable. Backslash should be escaped with a backslash.
•
Example:
log.file = /var/opt/ugcs/log/vsm-ardupilot/vsm-ardupilot.log
•
Example:
log.file = C:\\Users\\John\\AppData\\Local\\UGCS\\logs\\vsm-ardupilot\\vsm-ardupilot.log
1.8.2.3
Maximum single file size
Optional.
•
Name:
log.single_max_size = [size]
•
Description:
Maximum size of a single log file. When maximum size is exceeded, existing file is renamed
by adding a time stamp and logging is continued into the empty file. [size] should be defined as a number
postfixed by a case insensitive multiplier:
–
Gb, G, Gbyte, Gbytes: for Giga-bytes
–
Mb, M, Mbyte, Mbytes: for Mega-bytes
–
Kb, K, Kbyte, Kbytes: for Kilo-bytes
–
no postfix: for bytes
•
Default:
100 Mb
•
Example:
log.single_max_size = 500 Mb
Copyright © 2015, Smart Projects Holdings Ltd