Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Add logging api #42

Open
Gum-Joe opened this issue Jan 29, 2016 · 0 comments
Open

Add logging api #42

Gum-Joe opened this issue Jan 29, 2016 · 0 comments

Comments

@Gum-Joe
Copy link
Owner

Gum-Joe commented Jan 29, 2016

Here how it should work:

  1. User starts a web-app
  2. App is started
  3. When build/app logs are logged back, store the logs in the db and socket.io them to the user where they are added to the log
  4. When the user requests the page of logs, first show previous logs

Logs should be stored as an array of lines and appended as <li>s to /dashboard/apps/status on the appropriate well in the tub collapse. Moreover, there should also be a signal to collapse sections of logs (i.e. echo "_COLLAPSE_LOGS_")
Part of issue #39

@Gum-Joe Gum-Joe mentioned this issue Jan 29, 2016
Gum-Joe added a commit that referenced this issue Jan 29, 2016
➕ Added an "Download log" button to download logs @
/dashboard/apps/logs/download?app=author/app&tub=tub
🚧 TODO: Add run id field as well (#42)
:lipstick: Add border colour, text colour, background, float and margin
to download button (a bootstrap .btn .btn-primary)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant