Introducing smblog-mode for emacs
Ralph Boehme
rb at sernet.de
Tue Mar 8 17:39:29 UTC 2016
On Tue, Mar 08, 2016 at 02:44:45PM +0100, Aurélien Aptel wrote:
> Hi,
>
> I wrote a samba log viewer for Emacs. It is hosted on github:
>
> https://github.com/aaptel/smblog-mode
>
> # smblog-mode
>
> Emacs major mode for samba log files.
>
> ## Features
>
> - hilighting of log messages
> - easy navigation (`n` and `p`)
> - filter by log level (`+` and `-`), files&functions (`f`)
> - go to the source file (`RET` on any part of the log message)
>
> ## Installation
>
> - place smblog.el somewhere in your `load-path`
> - add `(require 'smblog)` in your init file
> - add `(setq smblog-src-dir "/absolute/path/to/your/samba")`
> to use the go-to-source feature
> - it should trigger on standard samba log file names,
> otherwise use `M-x smblog-mode-from-file-buffer` while visiting a log
> file
>
>
> Enjoy!
haven't tried yet, but will! It sounds *awesome*! Filter by log level,
that's just damn crazy. :)
Thanks!
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
More information about the samba-technical
mailing list