Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
ed5323f4
Commit
ed5323f4
authored
5 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
SW-642
: Added ded log_prop file for clkctl, which was missing.
parent
a1683aa7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MAC/APL/StationCU/src/ClockControl/CMakeLists.txt
+2
-0
2 additions, 0 deletions
MAC/APL/StationCU/src/ClockControl/CMakeLists.txt
MAC/APL/StationCU/src/ClockControl/clkctl.log_prop
+49
-0
49 additions, 0 deletions
MAC/APL/StationCU/src/ClockControl/clkctl.log_prop
with
51 additions
and
0 deletions
MAC/APL/StationCU/src/ClockControl/CMakeLists.txt
+
2
−
0
View file @
ed5323f4
...
@@ -8,3 +8,5 @@ target_link_libraries(ClockControl clock_protocol)
...
@@ -8,3 +8,5 @@ target_link_libraries(ClockControl clock_protocol)
lofar_add_bin_program
(
clkctl clkctl.cc
)
lofar_add_bin_program
(
clkctl clkctl.cc
)
target_link_libraries
(
clkctl clock_protocol
)
target_link_libraries
(
clkctl clock_protocol
)
lofar_add_sysconf_files
(
clkctl.log_prop
)
This diff is collapsed.
Click to expand it.
MAC/APL/StationCU/src/ClockControl/clkctl.log_prop
0 → 100644
+
49
−
0
View file @
ed5323f4
#
# Adapted log_prop file for clkctl. All runs of clkctl will add logging to
# an existing Rolling logfile, instead of creating a new one each run.
# As clkctl is often called during observations, this would create too many
# instances of clkctl.log files, and many older files were overwritten which
# made debugging or finding out what happened in case of a problem impossible.
#
# setup the right levels for logging and tracing
#
# Note: In production you don't want to loose any information so a daily rolling-file
# is used and tracing is switched off.
# For debugging purposes the daily rolling-file becomes too large so a size-based
# rolling file is used and tracing is switched on.
#
# Please do not change the logger lines below, only comment them in or out.
# For PRODUCTION:
# - Select the appropriate log-level for the rootLogger (DEBUG or INFO)
# - Leave the TRC logger on DEBUG,DUMP
# - Comment out the rootLogger and the TRC logger in the TEST section of this file
#log4cplus.rootLogger=DEBUG, DAILYFILE
log4cplus.rootLogger=INFO, ROLFILE
log4cplus.logger.TRC=DEBUG, DUMP
# For TESTING:
# - Select the appropriate trace level for the TRC logger
# - Leave the rootLogger on DEBUG, ROLFILE
# - Comment out the rootLogger and the TRC logger in the PRODUCTION section of this file
#log4cplus.rootLogger=DEBUG, ROLFILE
#log4cplus.logger.TRC=TRACE5, ROLFILE
# The next line should always be active.
log4cplus.additivity.TRC=FALSE
# Definitions of the output channels
log4cplus.appender.STDOUT=log4cplus::ConsoleAppender
log4cplus.appender.STDOUT.layout=log4cplus::PatternLayout
log4cplus.appender.STDOUT.layout.ConversionPattern=%D{%Y-%m-%d %H:%M:%S.%q} %-5p %c{3} - %m [%.25l]%n
log4cplus.appender.ROLFILE=log4cplus::RollingFileAppender
log4cplus.appender.ROLFILE.File=${LOFARROOT}/var/log/${LOG4CPLUS_LOGFILENAME}.log
log4cplus.appender.ROLFILE.MaxFileSize=10MB
log4cplus.appender.ROLFILE.MaxBackupIndex=999
log4cplus.appender.ROLFILE.layout=log4cplus::PatternLayout
log4cplus.appender.ROLFILE.layout.ConversionPattern=%x %D{%Y-%m-%d %H:%M:%S.%q} %-5p %c{3} - %m [%.25l]%n
log4cplus.appender.DUMP=log4cplus::NullAppender
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment