Hello Davi, Do you want short helping story or long helping story ?
Shortly : - /dev/log is a UNIX domain socket (read : https://en.wikipedia.org/wiki/Unix_domain_socket) - UNIX domain socket is used for inter-process within the same machine - syslogd, client or server, commonly used /dev/log for most Linux (ubuntu,..) but for OS/X it's different (see below, long story) - syslogd server can get messages from other hosts too ... but using the Internet UDP socket (localhost + port 514) - novoselt miseed to mention in his git added code that : UNIX domain socket /dev/log must be created on the running operating system (by the syslogd install or by socket command) => Use : *socket *xxxxx* /dev/log * replacing xxxx by options you want under root (or sudo root) and refer to : http://manpages.ubuntu.com/manpages/oneiric/man1/socket.1.html http://manpages.ubuntu.com/manpages/intrepid/man8/syslogd.8.html Dominique ******************************************** Long story ....(no need to read if you understood short story).... Better post Davi ... much more useful "details"... I have no local (on my laptop) github installation of sagecell, because I am an "end user" (I use Internet to work in SMC or trying sometimes sagecell) https://github.com/sagemath/sagecell/blob/master/web_server.py => line 8: import module log.py => it's start of web_server.py, initialization of imported modules https://github.com/sagemath/sagecell/blob/master/log.py => line 17: syslog = SysLogHandler(address="/dev/log", facility=SysLogHandler.LOG_LOCAL3) googling : /dev/log linux => ah ah... syslog related, /dev/log is a device socket (=> network) => http://www.unix.com/unix-for-advanced-and-expert-users/140065-when-process-fails-write-dev-log.html => log.py was written (Jason Grout) 2013 and updated last november (novolself ?) => clicking on History, you can get following change : https://github.com/sagemath/sagecell/commit/dae63bedcd9afd49b97945fb4a18f64fcf39a773 -import logging -from logging.handlers import SysLogHandler -h = SysLogHandler(address='/dev/log', facility=SysLogHandler.LOG_LOCAL3) -h.setFormatter(logging.Formatter('%(asctime)s %(name)s %(process)5d: %(message)s')) -logging.getLogger('sagecell').addHandler(h) -logging.getLogger("tornado.application").addHandler(h) => ah ah ... code added is just where you have difficulty : novoself authored November 2014 https://github.com/novoselt => I can see .. he was interested too with Websocket-emulation tornado...I notice this because commonly on Unix operating systems syslog is a daemon (syslogd) and network handling (client-server) of logging ... ... but "Web" means, something have been done for the network worldwide web googling : tornado logging http://tornado.readthedocs.org/en/latest/log.html http://tornado.readthedocs.org/en/latest/httpserver.html => I guess now, that /dev/log is a "socket"...but did'nt find just now, the README how to create it.. .. maybe novoself missed to explain how to do, or it's automatic from install tornado or running a daemon googling : log.py /dev/log https://docs.python.org/3/library/logging.handlers.html => 16.8.10. SysLogHandler => ok...UDP socket /dev/log needs to be created plus the syslogd must be configured for UDP => receiving port is 514 => check the /etc/services content plus firewall access ... after running the syslogd (usually after boot) you can use netstart -rn to know there is a process (syslogd) waiting on that port googling : ubuntu syslog server http://community.spiceworks.com/how_to/65683-configure-ubuntu-server-12-04-lts-as-a-syslog-server => sudo vim /etc/rsyslog.conf Uncomment the following lines: $ModLoad imudp $UDPServerRun 514 At the bottom of the file include the following entry: $template TmplAuth, "/var/log/%HOSTNAME%/%PROGRAMNAME%.log" http://www.techiecorner.com/1479/how-to-setup-syslog-server-in-ubuntu/ googling : ubuntu socket client googling : ubuntu socket mknod => because I know that mknod must be used to create devices in /dev (disk,...,and sockets!) googling : ubuntu UDP socket mknod http://manpages.ubuntu.com/manpages/utopic/man1/nc_openbsd.1.html => nc -lU to create (and then listen at) UDP socket googling : ubuntu install syslog client http://freelinuxtutorials.com/tutorials/configure-centralized-syslog-server-in-linux-setup-syslog-clients-on-different-platforms/ => logger : command to try if your syslogd setup is fine http://xmodulo.com/configure-syslog-server-linux.html => how to configure a "SyslogAgent" on WIndows operating sytem (sending logs messages to remote rsyslog host) googling : ubuntu install syslog agent https://logentries.com/doc/agent/ https://logentries.com/doc/linux-agent/ googling : python SysLogHandler https://docs.python.org/2/library/logging.handlers.html https://docs.python.org/2/library/logging.handlers.html#sysloghandler googling: ubuntu unix domain socket http://manpages.ubuntu.com/manpages/oneiric/man1/socket.1.html => http://manpages.ubuntu.com/manpages/intrepid/man8/syslogd.8.html https://en.wikipedia.org/wiki/Unix_domain_socket -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.