Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Every change of state logged in ONE FILE #279

Open
KPed-at-home opened this issue Aug 2, 2021 · 0 comments
Open

Every change of state logged in ONE FILE #279

KPed-at-home opened this issue Aug 2, 2021 · 0 comments

Comments

@KPed-at-home
Copy link

KPed-at-home commented Aug 2, 2021

Is your feature request related to a problem? Please describe.
No problem.

Describe the solution you'd like
Every commanded change in any logger state or logger-manager mode to be logged in one file. This is useful for inclusion in the end-of-cruise data distribution.

Describe alternatives you've considered
Scripting something that would scour the sqlite database or the various log files and collect that data for me. But there's less information about the database than I thought. Kinda have to sort through the Django code and piece the information together, and while you can grep for "logger_runner" in the stderr files and sort, that isn't nearly as concise as just having something say "changed mode to ". I can select from "django_gui_logmessage" from Django's sqlite database, which is nice, I suppose.

Additional context
Add any other context or screenshots about the feature request here.

FrozenGeek pushed a commit to FrozenGeek/openrvdas that referenced this issue Jun 12, 2023
davidpablocohn added a commit that referenced this issue Jun 23, 2023
* Shorten logger stderr backlog to 6 hours.

* I have no idea what I should be doing to set up my repo... :-( "

* remove pyscript pages from repo

* cleaning up .gitignore

* modified logger_manager to accept sqlite_gui

* compress fonts

* remove javascript contrib source trees

* Fixed up comments

* PEP8 compliance

* PEP8

* More and Better Comments

* Reduced idiom for getting cruise_id

* whittling down on namespace pollution

* Added quick link to GitHub

* Template for CGI

* Comments and PEP8

* Comment cleanups

* Better TLS hardening

* removed

* moving all JWT operations to secret.py

* Moving JWT ops to secrets.py

* Added short lived JWT for CSRF

* Comments, PEP8

* Template.cgi

* Confirmation dialog and CSRF

* Turned off database backups

* Trimming unneeded code

* Trying to remove CGI module

* Add autoclose

* cleanups

* type datetime, not timestamp

* renamed to .json vice .json5

* tootip vice fake link

* remove debugging code

* README for this project

* use tooltip vice link

* argparse help message

* rename json5 to json

* finally figured our VACUUM INTO

* finally figured our VACUUM INTO

* removed tail.html from tree

* styleing and lint

* Fixed markdown

* separate config from head

* Short docs for certs

* lint and speedups

* better docstrings

* Config now loads syncronously

* we do not use cookies

* no barf on missing config

* Notes for streamlining

* turn on TLSv1.3

* Works if no config file

* Better handling of missing config

* better docstrings

* not storing gzipped js to github

* Uncompressed

* removed pyscript.html

* Updated docstrings

* Better docstrings

* update github link

* Fix typo

* remove Template.cgi

* eliminating stray globals

* First pass at parent repo issue 293

* resolves issue 293

* resolves issue 293

* Resolves issue 279

* Address #279

* resolves #293

* use new config.js

* disable config file changes when not logged in

* Added resize:vertical to stderr css

* included iziToast notifications

* Moved index.html css declarations to index.css

* added Themes to config file

* removed vars from global scope

* add iziToast javascript library

* Somehow all my certificate stuff got deleted

* make stale config badge work

* minor tweaks eliminating "FIXME" comments

* remove unused code

* break javascript out of modals.html

* enable http2, because why not?

* removed extraneous notes

* removed extraneous notes

* lint

* jshint

* jshint

* rename head.html.js to navbar.js

* jshint

* jshint

* moved Load config button modal to modals.html

* style tweaks

* tweak (hack) to eliminate double "Loaded new config"

* dont github compressed files

* dont github compressed files

* jshint

* jshint

* Added Load Config modal

* shorten min height for stderr windows

* added comment at top, removed useless comments

* initial try at installation script

* Incremental improvement to install

* Added comments and explanations

* included Supervisor.js, removed loose javascript

* incremental towards final

* incremental towards final

* Incrementals towards final scripts

* no upload gz to github

* unused

* no push gzip to github

* removed unused files

* remove unused files

* added python yamllint as yaml linter

* added python yamllint as yaml linter

* added installing python libs

* added autoclose to "Load Config" page

* finally implemented "reload"

* Added "Cache-Control: no-cache" header to CGI scritps

* Data Simulator script

* yamllint the device files

* Changed response header from "no-cache" to "no-store"

* Fixes #1

* Fixes #2

---------

Co-authored-by: KPed <nobody@example.com>
Co-authored-by: FrozenGeek <116042693+FrozenGeek@users.noreply.github.com>
davidpablocohn added a commit that referenced this issue Aug 11, 2023
* Shorten logger stderr backlog to 6 hours.

* I have no idea what I should be doing to set up my repo... :-( "

* remove pyscript pages from repo

* cleaning up .gitignore

* modified logger_manager to accept sqlite_gui

* compress fonts

* remove javascript contrib source trees

* Fixed up comments

* PEP8 compliance

* PEP8

* More and Better Comments

* Reduced idiom for getting cruise_id

* whittling down on namespace pollution

* Added quick link to GitHub

* Template for CGI

* Comments and PEP8

* Comment cleanups

* Better TLS hardening

* removed

* moving all JWT operations to secret.py

* Moving JWT ops to secrets.py

* Added short lived JWT for CSRF

* Comments, PEP8

* Template.cgi

* Confirmation dialog and CSRF

* Turned off database backups

* Trimming unneeded code

* Trying to remove CGI module

* Add autoclose

* cleanups

* type datetime, not timestamp

* renamed to .json vice .json5

* tootip vice fake link

* remove debugging code

* README for this project

* use tooltip vice link

* argparse help message

* rename json5 to json

* finally figured our VACUUM INTO

* finally figured our VACUUM INTO

* removed tail.html from tree

* styleing and lint

* Fixed markdown

* separate config from head

* Short docs for certs

* lint and speedups

* better docstrings

* Config now loads syncronously

* we do not use cookies

* no barf on missing config

* Notes for streamlining

* turn on TLSv1.3

* Works if no config file

* Better handling of missing config

* better docstrings

* not storing gzipped js to github

* Uncompressed

* removed pyscript.html

* Updated docstrings

* Better docstrings

* update github link

* Fix typo

* remove Template.cgi

* eliminating stray globals

* First pass at parent repo issue 293

* resolves issue 293

* resolves issue 293

* Resolves issue 279

* Address #279

* resolves #293

* use new config.js

* disable config file changes when not logged in

* Added resize:vertical to stderr css

* included iziToast notifications

* Moved index.html css declarations to index.css

* added Themes to config file

* removed vars from global scope

* add iziToast javascript library

* Somehow all my certificate stuff got deleted

* make stale config badge work

* minor tweaks eliminating "FIXME" comments

* remove unused code

* break javascript out of modals.html

* enable http2, because why not?

* removed extraneous notes

* removed extraneous notes

* lint

* jshint

* jshint

* rename head.html.js to navbar.js

* jshint

* jshint

* moved Load config button modal to modals.html

* style tweaks

* tweak (hack) to eliminate double "Loaded new config"

* dont github compressed files

* dont github compressed files

* jshint

* jshint

* Added Load Config modal

* shorten min height for stderr windows

* added comment at top, removed useless comments

* initial try at installation script

* Incremental improvement to install

* Added comments and explanations

* included Supervisor.js, removed loose javascript

* incremental towards final

* incremental towards final

* Incrementals towards final scripts

* no upload gz to github

* unused

* no push gzip to github

* removed unused files

* remove unused files

* added python yamllint as yaml linter

* added python yamllint as yaml linter

* added installing python libs

* added autoclose to "Load Config" page

* finally implemented "reload"

* Added "Cache-Control: no-cache" header to CGI scritps

* Data Simulator script

* yamllint the device files

* Changed response header from "no-cache" to "no-store"

* Fixes #1

* Fixes #2

* Fixes Pablo's bug report Issue #3

* Fixes @davidpablocohn issue #3

* added pkg py-setproctitle

* typo

---------

Co-authored-by: KPed <nobody@example.com>
Co-authored-by: FrozenGeek <116042693+FrozenGeek@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants