photon with slacklogger?

Options
I am trying to setup custom log4net appenders on photon but the dll does not seem to be reading any of the configs.

The docs also say photon already has log4net but I see no evidence of this.

Comments

  • chvetsov
    Options
    Hi, marcV2g

    there is log4net.config in every bin folder and every project file
    this files are used to configure logging

    and those configs defenetely are read by system, so that you may update them even in realtime
  • marcV2g
    Options
    I am using a dll plugin in photon cloud, either

    [assembly: log4net.Config.XmlConfigurator(Watch = true)]

    in

    AssemblyInfo.cs

    or

    App.config

    are being ignored by the server / dll

  • chvetsov
    Options
    well, i'm confused. not sure what you are doing

    it is not possible to use pluginn in public cloud. if you are writing your plugin, then you should have enterprise cloud and plugin has special interface for logging
  • marcV2g
    Options
    We are using enterprise cloud and the built in logging is not adequate for our needs.
  • chvetsov
    Options
    we are preparing update when you will be able to create your own loggers like IPluginHost.CreateLogger("name"). in result you whill get logger with name "Plugin.name"

    you need to send request to developer@photonengine.com. only in this case your cloud will be updated to new version.