Commit Graph

7 Commits

Author SHA1 Message Date
Thorsten von Eicken
6d20dd6fec disable syslog; add travis 2016-09-22 23:05:44 -07:00
susisstrolch
077bcaf02d syslog: fixed regression
- #undef SYSLOG_DBG will discard first four syslog messages
- race condition in os_timer_setfn/os_timer_arm lead to
  1226> Fatal exception 9(LoadStoreAlignmentCause):
  1227> epc1=0x4010076e, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000003, depc=0x00000000
- potential loop in syslog_init - fixed by additional state SYSLOG_INITDONE
2015-12-16 19:21:54 +01:00
susisstrolch
8791bda62d syslog: fix UDP timing problems
- start README file describing the interface
- add 2ms delay before sending the next package
2015-12-14 09:42:51 +01:00
Benjamin Runnels
bfee1cf694 fixes for services 2015-12-07 07:03:10 -06:00
susisstrolch
538e79f1dc fixes/changes after pull request
- changed defaults for Flashconfig
  - SNTP-Server: empty
  - Syslog-Server: empty
  - hostname: reverted to esp-link

- heavy cleanup in syslog.c
  - removed debug messages
  - add local syslog_compose function
2015-11-24 14:06:25 +01:00
susisstrolch
f3dd7368d0 fix rebase / merge errors
- missing LOG_xxx macros in syslog.h
- fixed tag (esp-link) in LOG_xxx macro
2015-11-23 23:45:59 +01:00
susisstrolch
e84900dbc7 syslog - a simple syslog client
syslog UDP messages are send via
syslog(uint8_t facility, uint8_t severity, const char tag[], const char message[], ...);

the syslog function queues any msg on system heap. If heap reaches a minimum size (8kB),
syslog stops queuing.
As soon as Wifi connectivity is available, syslog will send out all queued messages.
Queuing will be reenabled after all pending messages are sent.
2015-11-23 22:37:31 +01:00