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

Papercut.Service.json Options #46

Closed
HarleeDavidson opened this issue Mar 30, 2017 · 5 comments
Closed

Papercut.Service.json Options #46

HarleeDavidson opened this issue Mar 30, 2017 · 5 comments

Comments

@HarleeDavidson
Copy link

Nice job with this utility, well done!

Documentation says:

If manual confiugration is needed, the configuration file for Papercut.Service can be found in the same directory as the Papercut.Service.exe. Papercut.Service.json contains the configuration with comments outlining options.

Looking for the options in the file, but the file is empty, both in the download and in the source.

More specifically, I'd like to set logging options for Seq. For example, server, port, log level, and api key.

Thank you!

@Jaben
Copy link
Member

Jaben commented Mar 30, 2017

Ahh, good catch -- I'll have to add that back in.

For reference, settings for seq should be this:

{
  "SeqEndpoint": "http://localhost:5341",
  "SeqLogLevel": "Verbose"
}

@HarleeDavidson
Copy link
Author

@Jaben ,

Thanks for the quick reply. Is there an option for API Key? We use this to tag events from different sources (applications).

Thanks!

@Jaben
Copy link
Member

Jaben commented Mar 30, 2017

@HarleeDavidson -- You're very welcome.

The Seq plugin doesn't currently support the API key. But it would be rather simple to add here: https://github.com/ChangemakerStudios/Papercut/blob/develop/src/Papercut.Module.Seq/AddSeqToConfiguration.cs

A PR would be great. If not, I'll add to my list. Warning: my list is currently rather lengthy :)

@HarleeDavidson
Copy link
Author

Sounds good, I'd be happy to do a PR, just let me know when the Papercut.Service.json file is updated and I'll have a look.

Thanks!

Jaben pushed a commit that referenced this issue May 28, 2017
@Jaben
Copy link
Member

Jaben commented May 28, 2017

Latest now has support for the Seq Api Key. Closing this issue.

@Jaben Jaben closed this as completed May 28, 2017
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

2 participants