Roguelazer/rust-syslog-rfc5424

Invalid UTCOffset with python 5424 logger

Closed this issue · 1 comments

Hi, I'm using python 5424 logger to log messages through UDP and I'm unable to parse timestamp with decimal points

    let average_message = r#"<14>1 2017-07-26T14:47:35.869952+05:30 my_hostname custom_appname 5678 some_unique_msgid - \u{feff}Some other message"#;
    timeit!({
        let m = parse_message(average_message).unwrap();
        json::encode(&m).unwrap();
    });

This should be fixed now.