struct logfork_msg

Overview

Common information in the message More…

#include <logfork_int.h>

struct logfork_msg {
    // fields

    logfork_msg_type type;
    pid_t pid;
    uint32_t tid;
    char name[LOGFORK_MAXUSER];
    struct logfork_msg::@11::@12 add;
    bool enabled;
    struct logfork_msg::@11::@13 set_id_logging;
    te_log_ts_sec sec;
    te_log_ts_usec usec;
    unsigned int level;
    char user[32];
    char msg[LOGFORK_MAXLEN];
    struct logfork_msg::@11::@14 log;
    union logfork_msg::@11 msg;
};

Detailed Documentation

Common information in the message

Fields

char name[LOGFORK_MAXUSER]

Logfork user name

bool enabled

true - enable, false - disable logging of name and pid in messages

te_log_ts_sec sec

Seconds

te_log_ts_usec usec

Microseconds

unsigned int level

Log level

char user[32]

Log user

char msg[LOGFORK_MAXLEN]

Message