Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement slog2 logging capability #713

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 30, 2024

  1. Implement slog2 logging capability

    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
    
    Minimal CMake changes were made to link against the slog2 library on QNX
    
    This commit also modifies the routingmanager example to set the
    LogApplication property which is used as the log tag for AOSP logcat
    logging.
    kheaactua committed May 30, 2024
    Configuration menu
    Copy the full SHA
    eabbfee View commit details
    Browse the repository at this point in the history