Skip to content

Conversation

@kheaactua
Copy link
Contributor

@kheaactua kheaactua commented Nov 28, 2025

slog2 is enabled by default, but guarded with #ifdef __QNX__. It can be controlled with /etc/vsomeip/logging.json, i.e.:

"logging": {
  "slog2": true
}

This code allocates 4 pages (16kB) by default, but the caller can provide an environment variable VSOMEIP_SLOG2_NUM_PAGES to control the allocation

@kheaactua
Copy link
Contributor Author

This replaces #713 , though it leaves out the good CMake changes.

@kheaactua kheaactua force-pushed the implement_slog2 branch 3 times, most recently from b0a1853 to 6d64b0a Compare November 28, 2025 18:22
slog2 is enabled by default, but guarded with #ifdef __QNX__. It can be
controlled with /etc/vsomeip/logging.json, i.e.:

```json
"logging": {
  "slog2": true
}
```

This code allocates 4 pages (16kB) by default, but the caller can provide
an environment variable VSOMEIP_SLOG2_NUM_PAGES to control the allocation
Comment on lines 140 to 141
output += lvl;
output += msg;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
output += lvl;
output += msg;
output += lvl;
output += " ";
output += msg;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant