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

Expand DefaultLogger, ILogger and IEvlWatcherService for Output History #24

Closed
6 tasks done
devnulli opened this issue Nov 5, 2020 · 0 comments · Fixed by #27
Closed
6 tasks done

Expand DefaultLogger, ILogger and IEvlWatcherService for Output History #24

devnulli opened this issue Nov 5, 2020 · 0 comments · Fixed by #27
Assignees
Labels
enhancement thats a planned enhancement

Comments

@devnulli
Copy link
Owner

devnulli commented Nov 5, 2020

  • ILogger should get a SetConsoleHistoryMaxCount(int count), and a IList<ConsoleEntry> GetConsoleHistory(),

  • ConsoleEntry maybe being an Object with DateTime and String

  • 'DefaultLogger' should then implement that it keeps the last X entries saved, in a List that doesnt grow larger over time.

image

  • So that with GetConsoleHistory() you can get it back

  • Then, _logger should take the backlog size from the config
    image
    image

  • Finally, the IEvlWatcherService Interface needs a function to provide the last Output to te Console.

that would be the server side of what is needed, so that the console can display live what the service is doing at the momen

@NukeDev NukeDev self-assigned this Nov 5, 2020
@NukeDev NukeDev added the enhancement thats a planned enhancement label Nov 5, 2020
@NukeDev NukeDev added this to To do in Recoding the EvlWatcher to a modern time via automation Nov 5, 2020
@NukeDev NukeDev added this to the V2 milestone Nov 5, 2020
@devnulli devnulli linked a pull request Nov 6, 2020 that will close this issue
NukeDev pushed a commit that referenced this issue Nov 6, 2020
@NukeDev NukeDev closed this as completed Nov 6, 2020
Recoding the EvlWatcher to a modern time automation moved this from To do to Done Nov 6, 2020
devnulli added a commit that referenced this issue Nov 10, 2020
* refactoring complete

* wip - configuration and log level settings

* update of config file structure

* configuration readable (not writeable)

* change of config file (tasknames)

* removed plugin loading code. not loading unsigned dlls anymore

* EvlWatcher 2.0 beta 1.

* put config in root again

* - changed start mode so the service can be started directly (without installation)

* wip

* fixed recognition of Event 4625

* memory leak fixed (?)

* fixed a problem with persisting the permanent ban list

* fixed a problem with persisting the permanent ban list

* wip

* Added app.manifest in EvlWatcherConsole with requestedExecutionLevel of requireAdministrator.

* back to normal 30 sec interva

* remove fake data creation

* created a clean beta1 version

* added logger to generic tasks.

* Securing PIPE and catching FaultExceptions - part 1

* externalized wcf classes, so that they have the same runtime types

* min-fix to ExceptionFaultContract

* minor cleanups

* CONSOLE: added fake console output and some funk for the currently banned tab

SERVICE: finished configurable tasks. should be done now

* - fixed installer for a complete (including console) install
- created clean beta version

* Implemented ConsoleBackLog and IEvlWatcherService - #24 ⚡

* Fixed 🔧 date precision #24

* minor correction in comment

* added more debug information about why tasks ban / dont ban

* ⚡ Added console output from service. #25

* new beta version with working console

* little correction in displaying console events. now displaying every event greater or equal the selected level

* some minor changes in View and Model
- renamed EvlWatcherController to EvlWatcherModel
- removed ConsoleAutoScroll from model, its view specific
- corrected a label
- initial value of ConsoleLevel set

* some cosmetics in the Console Apps Model

* refactored to MVVM

* dump failed named-pipe queries

* Refactor to MVVM - Part 2

* some more refactoring
- application tiers
- DTOs

* removed ConsoleLevel configuration . not necessary. is configured in frontend
changed some output from verbose to debug

* minor correction (only write to stdout when user interactive).. you never know.

* fixed concurrency problem

* wip - global config tab

* v2.0

Co-authored-by: NukeDev <info@cloudwave.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement thats a planned enhancement
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants