{"id":15954753,"url":"https://github.com/felfert/esp8266-rtos-syslog","last_synced_at":"2026-05-17T03:31:31.275Z","repository":{"id":183566290,"uuid":"670377383","full_name":"felfert/esp8266-rtos-syslog","owner":"felfert","description":"A minimal implementation of syslog using UDP for ESP8266-RTOS","archived":false,"fork":false,"pushed_at":"2023-07-24T23:34:39.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T18:14:18.206Z","etag":null,"topics":["esp8266"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felfert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-24T23:29:41.000Z","updated_at":"2023-07-25T00:20:05.000Z","dependencies_parsed_at":"2023-07-25T00:40:40.820Z","dependency_job_id":null,"html_url":"https://github.com/felfert/esp8266-rtos-syslog","commit_stats":null,"previous_names":["felfert/esp8266-rtos-syslog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fesp8266-rtos-syslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fesp8266-rtos-syslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fesp8266-rtos-syslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fesp8266-rtos-syslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felfert","download_url":"https://codeload.github.com/felfert/esp8266-rtos-syslog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135123,"owners_count":20889420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp8266"],"created_at":"2024-10-07T13:19:40.536Z","updated_at":"2025-10-06T15:33:08.629Z","avatar_url":"https://github.com/felfert.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A minimal implementation of syslog using UDP for ESP8266-RTOS\n\nThis repository is intended to be included as a component for ESP8266 projects\nwhich use Espressif's ESP8266\\_RTOS\\_SDK.\n\nTo achieve this, you have 2 options:\n\n 1. Offline: Copy this directory to \u003cYourProject\u003e/components/syslog\n 2. Online: Add this repository as a submodule in your project.\n\n## Configuration\n\nThis component provides several menuconfig settings. When running `make menuconfig`,\nthese can be found under `Component config` \u0026rarr; `syslog`\n\nTo enable/disable the component, the `USE_SYSLOG` can be used. If disabled, all\nsyslog functions are replaced by NOPs.\n\nThis component requires using an event group which should be defined in your app.\nIn that event group, there should be 2 event bits that must be handled by your app:\n\n 1. A `WIFI_CONNECTED` bit, that gets set, when Wifi has connected\n 2. A `NTP_SYNCED` bit, thet gets set, when NTP has aquired the current time.\n\nA third bit in the event group will be used by syslog itself.\n\nThe configuration lets you specify the name of the event group and the names of both\nbit constants that are handled by your app. It also lets you define the value of the\n`MSG_QUEUED` bit, that gets used by syslog itself.\n\nThe rest of the config settings should be self explanatory. If in doubt, use menuconfig's\nhelp functionality.\n\n## Regular Functionality\n\nSee syslog(3) openlog(3)and closelog(3)\n\n## Non standard functionality\n\n`void set_syslog_hostname(const char* hostname)` allows overriding the default hostname\nwhich is taken from `CONFIG_LWIP_LOCAL_HOSTNAME`. Obviously, this should be called before\nany other functions\n\n`extern void syslogx(int __pri, const char* app, const char* __fmt, ...)` provides an\nadditional parameter `app` for overriding the syslog identifier.\n\n`void vsyslogx(int __pri, const char* app, const char* __fmt, va_list alist)` provides an\nadditional parameter `app` for overriding the syslog identifier.\n\n`void syslog_flush(void)` blocks, until all queued messages have been sent.\n\n## Example\nAn example project that uses this component can be found [here](https://github.com/felfert/level-sensor).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelfert%2Fesp8266-rtos-syslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelfert%2Fesp8266-rtos-syslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelfert%2Fesp8266-rtos-syslog/lists"}