Questions tagged [logary]

Logary makes **metrics** and **structured logs** universally accessible: send to ElasticSearch, InfluxDB, File or a pretty coloured console - Logary's got you covered!

Logary lets you send both app metrics and app logs, ship them or simply see them in your console as you develop your product. It's a classy library, rather than premium-mediocre.

Logary Core is an extensible logging framework with tried-and-tested patterns for logging. The configuration API is here and you can configure to be used like Riemann.io, as a .Net-based stream processing engine.

Logary Targets is a large collection of backends that you can send your metrics and logs to. In Azure? Use the AppFabric target. In GCP? Use the Stackdriver target. Self-hosted? ElasticSearch/LogStash and InfluxDB, perhaps.

Logary Facade for F# and C# lets you add logging to your libraries without taking a logging-framework dependency.

Logary Facade Adapter adapts your library's logging implementation to use Logary, at your application's composition root.

Logary Rutta can be run either as a console app, a windows service or as a docker service. It runs either as a:

  • Shipper; sending the logs out from your server/node into a...
  • Router; accepting logs and forwarding them to a...
  • Router; spawning listeners (for the above), or sending to Logary Targets.

Logary Ingestions; lets you interop with other log shipping software like nxlog, fluentd and logstash, or lets your log from your web site, to avoid burdening the visitor with lots of downloads of third party logging libraries.

Other Logary features:

  • Completely written in F# and has an auxiliary C# API.
  • Crashing targets are restarted using a supervisor-architecture
  • Internal logging is separated from app logging.
  • Each Target has a configurable ring buffer that the app feeds into.
  • Every logged line can be either:
    • sent and forgotten;
    • or sent and wait for buffer to accept it,
    • sent and wait for all routed target having flushed the metric/event.

Install: paket add Logary or Install-Package Logary -pre

9 questions
4
votes
2 answers

Certain libraries force Visual Studio to compile F# project every single time

Certain nuget libraries seem to force my project to rebuild (as in run fsc.exe to produce a new binary) every single time I build the solution, even if nothing at all has changed. As soon as I delete the reference in the Visual Studio references…
junichiro
  • 4,402
  • 3
  • 15
  • 25
3
votes
0 answers

Improve edit-run cycle time on .Net Core

I'm trying to improve the performance in Logary and am bumping into an unexpected issue with .Net Core; even a single-character change in Logary.PerfTests causes a complete restore throughout all of the repository (I think), with this as a…
Henrik
  • 9,303
  • 4
  • 49
  • 83
3
votes
0 answers

Webpack umd seemingly breaks stacktrace-js functionality

We're trying to use stacktrace-js with the awesome logary-js (my project) but after going through webpack it would seem it doesn't work anymore. Here's the configuration for webpack…
Henrik
  • 9,303
  • 4
  • 49
  • 83
2
votes
0 answers

Write logary target to EventStore

I need to write Logary target to store logs to the EventStore from .NET application. I have followed the following instructions: https://freesoft.dev/program/20382492#writing-a-new-target. Now I have a new file with the same content as Noop.fs that…
Maria
  • 59
  • 4
2
votes
2 answers

Logary with Logstash to Elastic Search - simple configuration

I've been trying to set up logging for my .NET application using Logary > Logstash > ElasticSearch for nearly the entire day. I've tried every variation of the configuration I can think of and went through docs for hours to no avail. What is wrong…
parliament
  • 18,013
  • 35
  • 131
  • 223
1
vote
0 answers

How to configure the parent lib (in TS) to be linked from its examples?

I would like to use a parent NPM package from inside a subfolder, as part of the development process. Let's call my library "logary". Structure: . |- package.json |- tsconfig.json |- src |- ... all the source code |- dist |- ... compiled TS as…
Henrik
  • 9,303
  • 4
  • 49
  • 83
1
vote
0 answers

Simple example for logging text in expecto test

I'm trying to write some logs in an Expecto test, however I can't figure out how to get anything to be logged. Is there a very simple example of this somewhere? Currently I have: module Test open Expecto open Expecto.Logging open…
Paul Johnson
  • 1,181
  • 1
  • 10
  • 21
1
vote
2 answers

How do I write a Logary target for my .NET application?

I am trying to get started with Logary. I need to write a new target and I have tried following the following tutorial https://logary.tech/tutorials. I have downloaded Logary.sln from https://github.com/logary/logary, but I am not able to build…
Maria
  • 59
  • 4
0
votes
1 answer

Paket won't download logary on install

Im admittedly a pretty big paket noob. When I run mono paket.exe install I get Paket failed with -> Could not download from…
Anthony Russell
  • 9,093
  • 8
  • 52
  • 98