• Robert Schmidt's avatar
    Update log header format to improve visual alignment · ea1aa382
    Robert Schmidt authored
    The new format left-aligns the component name and enforces a minimum width
    of 7 (log component) characters, padding shorter names with spaces after
    the closing "]".
    
    Example output:
    
        [14:05:43.395376] [E1AP]   I releasing UE 1
        [14:05:43.395400] [GTPU]   I [91] UE ID 1: Delete all tunnels (1 tunnels)
        [14:05:43.395414] [NR_RRC] A [DL] (cellID bc614e, UE ID 1 RNTI 8e27) Send RRC Release
        [14:05:43.395431] [RRC]    I UE 1: received bearer release complete
        [14:05:43.424551] [RLC]    W Remove UE 36391
        [14:05:43.424597] [NR_RRC] I removed UE CU UE ID 1/RNTI 8e27
        [14:05:43.424773] [NR_RRC] A [--] (cellID bc614e, UE ID 1 RNTI 8e27) Remove UE context
        [14:05:43.425205] [NR_MAC] I Remove NR rnti 0x8e27
        [14:05:43.582158] [HW]     W Lost socket
        ^C
        ** Caught SIGTERM, shutting down
        Returned from ITTI signal handler
        [14:05:43.948721] [GNB_APP] I stopping nr-softmodem
        [14:05:43.948746] [PHY]    I Killing gNB 0 processing threads
        [14:05:44.574818] [PHY]    I Stopping RU 0 processing threads
        [14:05:44.575000] [PHY]    I RU 0 RF device stopped
        [14:05:44.575006] [GNB_APP] I turned off RU rfdevice
    ea1aa382
log.h 26.7 KB