27 lines
1.7 KiB
YAML
27 lines
1.7 KiB
YAML
# docker-dev/docker-compose.debug.yml — optional overlay: raise Serilog levels per category on the central pair.
|
|
#
|
|
# The rig nodes run with ASPNETCORE_ENVIRONMENT unset (Production), so there is NO appsettings.Development.json and the
|
|
# Serilog default level is Information (the base appsettings.json sets none). Debug is therefore OFF by default; this
|
|
# overlay turns it on for chosen namespaces only, via Serilog:MinimumLevel:Override:<Namespace> (env: double underscore
|
|
# for ':', and the namespace's own dots stay dots).
|
|
#
|
|
# Up (recreates only the two central nodes with the extra env):
|
|
# docker compose -f docker-dev/docker-compose.yml -f docker-dev/docker-compose.debug.yml up -d --no-deps central-1 central-2
|
|
# Back to normal: re-run `up -d --no-deps central-1 central-2` with the base file alone.
|
|
#
|
|
# Edit the list below to the categories you care about. Useful ones:
|
|
# ZB.MOM.WW.OtOpcUa.Runtime actors: DriverHostActor, OpcUaPublishActor, redundancy, deploys
|
|
# ZB.MOM.WW.OtOpcUa.Runtime.Drivers.DriverHostActor one actor only (e.g. the #672 historization verdict logs)
|
|
# ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient a single driver
|
|
# Opc.Ua OPC Foundation stack (very chatty)
|
|
# Akka cluster/remoting internals (chatty; base is Information)
|
|
# Leave Microsoft.EntityFrameworkCore / Microsoft.AspNetCore at Warning (see README "Resource limits & dev logging"):
|
|
# a Debug SQL flood starves the Akka heartbeat thread.
|
|
services:
|
|
central-1:
|
|
environment:
|
|
Serilog__MinimumLevel__Override__ZB.MOM.WW.OtOpcUa.Runtime: "Debug"
|
|
central-2:
|
|
environment:
|
|
Serilog__MinimumLevel__Override__ZB.MOM.WW.OtOpcUa.Runtime: "Debug"
|