Giter Site home page Giter Site logo

espsyslog's Introduction

Library for printing messages to Syslog on ESP8266

This library allows ESP8266-based devices to send messages to remote syslog servers. This is especially useful when you've put your code into production, and you no longer have access to the serial console since it isn't connected to your laptop anymore, but hidden away inside a wall somewhere. You'll need to set up a machine on your network as a syslog server. The easiest way to do this is to use a Raspberry Pi with Raspbian. Raspbian comes with rsyslogd, which supports the remote syslog protocol, but this capability is disabled by default. You'll need to uncomment the following lines from /etc/rsyslog.conf:

$ModLoad imudp
$UDPServerRun 514

Then restart rsyslog:

systemctl restart rsyslog

Note that you can use any Linux distribution with rsyslog, not just Rasbian on a Raspberry Pi.

Installation

Use git to clone this repository into your Arduino libraries folder. On a Mac, this is usually Documents/Arduino/libraries:

cd ~/Documents/Arduino/libraries
git clone https://www.github.com/jerryr/EspSyslog

espsyslog's People

Contributors

jerryr avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

espsyslog's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.