You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
990 B

9 years ago
9 years ago
9 years ago
  1. ## Goaccess
  2. ## Logstalgia
  3. local-web-server is compatible with [logstalgia](http://code.google.com/p/logstalgia/).
  4. ### Install Logstalgia
  5. On MacOSX, install with [homebrew](http://brew.sh):
  6. ```sh
  7. $ brew install logstalgia
  8. ```
  9. Alternatively, [download a release for your system from github](https://github.com/acaudwell/Logstalgia/releases/latest).
  10. Then pipe the `logstalgia` output format directly into logstalgia for real-time visualisation:
  11. ```sh
  12. $ ws -f logstalgia | logstalgia -
  13. ```
  14. ![local-web-server with logstalgia](https://raw.githubusercontent.com/75lb/local-web-server/master/doc/img/logstagia.gif)
  15. ## glTail
  16. To use with [glTail](http://www.fudgie.org), write your log to disk using the "default" format:
  17. ```sh
  18. $ ws -f default > web.log
  19. ```
  20. Then specify this file in your glTail config:
  21. ```yaml
  22. servers:
  23. dev:
  24. host: localhost
  25. source: local
  26. files: /Users/Lloyd/Documents/MySite/web.log
  27. parser: apache
  28. color: 0.2, 0.2, 1.0, 1.0
  29. ```