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

logging into a logfile and starting teams-monitor as a servivce #5

Open
binderth opened this issue Nov 17, 2023 · 8 comments
Open

logging into a logfile and starting teams-monitor as a servivce #5

binderth opened this issue Nov 17, 2023 · 8 comments

Comments

@binderth
Copy link

First of all, thanks for all the work, that's a great tool.

I'd like to use it completely "silent", as I tend to close all open programs showing in the taskbar! 😀
Is there a way to

  • send the console output to a logfile?
  • start the teams-monitor as a service and configure the options like "webhook" and "storage" in a configuration file?

That would be really helpful!
Thanks!

@svrooij
Copy link
Owner

svrooij commented Nov 17, 2023

No promises: https://twitter.com/svrooij/status/1725077020361572517?t=odgbtIpnc3kXVEOfWqGSSw&s=19

You can already configure the webhook through an environment variable and the storage is probably to be never changed.

Running as a Windows service is a pain in the *#!
So I think running this app as a taskbar app, but it's either badly documented or only works from .net framework and not .net core

@binderth
Copy link
Author

You can already configure the webhook through an environment variable

Ah, sorry. Didn't catch that... Thanks. I hope it'll run in taskbar! 😉

@svrooij
Copy link
Owner

svrooij commented Nov 21, 2023

@binderth still no promises.... 😉

image

@svrooij
Copy link
Owner

svrooij commented Nov 24, 2023

image
🕵️

image

image

I seem to be getting somewhere

@binderth
Copy link
Author

not to put mor pressure on it, I know, you're doing this as a fun spare time project...
but nevertheless: did you make any progress since? I'm happy to offer some testing for it! 😀

@BWalti
Copy link

BWalti commented May 2, 2024

I haven't tried it yet, but that documentation to create a Windows Service doesn't seem all to complex and weird?
https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service

@svrooij
Copy link
Owner

svrooij commented May 2, 2024

I'm more than happy to accept a PR, not actively working on this feature since I would not use it myself.

Having this as a notification area app seems more logical, but packaging is super annoying to fix. There is a working version in the repo, but packaging it in GitHub actions is unsuccessful so far.

@mvaneijken
Copy link

I would love to see it be able to run it from the system tray. As a work-arround I have installed it as a Windows Service using NSSM - the Non-Sucking Service Manager:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants