Skip to main content

view odoo logs on a http server

Project description

odoo log viewer

This package help you to view odoo log file online in a browser

As an odoo developer you might need to know what is going on in your odoo log file. odoo log files are stored in /var/log/odoo/ folder in a linux server. This package is created based on http.server of python. All needed files such as html and javascript files are embeded to the package.

Instructions

1. Install:

pip install odoolv

2. run program:

2.1 from python:

import odoolv
odoolv.run()

2.2 from linux console:

$odoolv
server started on :9000
x.x.x.x - - [24/Jan/2023 19:55:04] "GET / HTTP/1.1" 200 -
x.x.x.x - - [24/Jan/2023 19:55:04] "GET /log.js HTTP/1.1" 200 -

3. browse the following address:

    http://<your_server_address>:9000

4. How to use

While server is installed and running, you can have access as an http connection on port 9000. odoo default log folder and log file name are embedded as default value. So, you will receive logs immediately.

Each time you refresh your server page on http://<your_server_address>:9000, you will receive the last 10 records of the log file. After that, it will fetch all new log records, every second.

This package is simulating pycharm run view. This way, it always keeps the scroll the page on bottom automatically.

If you scroll up a little, the reading process would be stopped. It means that you would not be intrupted by data refresh while you are reading some lines.

Besides, on the page header, there is a checkbox which you make you able to stop the auto fetch process.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoolv-1.0.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoolv-1.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file odoolv-1.0.0.tar.gz.

File metadata

  • Download URL: odoolv-1.0.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for odoolv-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9cc8d794a4db2eee0e90aa5254fc05d06e59a03fde7561cd435ef90b4f1c0df4
MD5 8170abadc01490c517fc665107645504
BLAKE2b-256 e35fc77797e3e9eb931b0c3acb2a8a3fda0ab1d025eda3f9b06ed3475336bdfa

See more details on using hashes here.

File details

Details for the file odoolv-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: odoolv-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for odoolv-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d838ce25eda614216babd799d3ace47387ca7f72191a8d1c049c2fafeb964ec
MD5 79fbcaecfe95852f15d3da82b7bc3c12
BLAKE2b-256 46e602f96c0d03c0851110a3cf7a6f2220e610a01cedb5daae76a7b202f37492

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page