Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
14ef009a
Commit
14ef009a
authored
6 years ago
by
Beat Küng
Browse files
Options
Downloads
Patches
Plain Diff
logging: add SDLOG_MODE = -1 to disable logging completely
parent
a08b1682
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
ROMFS/px4fmu_common/init.d/rc.logging
+5
-1
5 additions, 1 deletion
ROMFS/px4fmu_common/init.d/rc.logging
src/modules/logger/params.c
+1
-0
1 addition, 0 deletions
src/modules/logger/params.c
with
6 additions
and
1 deletion
ROMFS/px4fmu_common/init.d/rc.logging
+
5
−
1
View file @
14ef009a
...
...
@@ -24,4 +24,8 @@ then
set
LOGGER_ARGS
"-f"
fi
logger start
-b
${
LOGGER_BUF
}
-t
${
LOGGER_ARGS
}
if
!
param compare SDLOG_MODE
-1
then
logger start
-b
${
LOGGER_BUF
}
-t
${
LOGGER_ARGS
}
fi
This diff is collapsed.
Click to expand it.
src/modules/logger/params.c
+
1
−
0
View file @
14ef009a
...
...
@@ -55,6 +55,7 @@ PARAM_DEFINE_INT32(SDLOG_UTC_OFFSET, 0);
* Determines when to start and stop logging. By default, logging is started
* when arming the system, and stopped when disarming.
*
* @value -1 disabled
* @value 0 when armed until disarm (default)
* @value 1 from boot until disarm
* @value 2 from boot until shutdown
...
...
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