Hi Gregor, How did you set the setting orientdb.installCustomFormatter=false ?
Lvc@ On 28 January 2015 at 13:35, Gregor Frey <[email protected]> wrote: > Hi Luca, > it's still the same thing, also with orientdb-community-2.0.1-SNAPSHOT. > I use the OServerMain to create an OServer. The OServer then calls the > OLogManager who sets the formatter for the ConsoleHandler. > Ciao > Gregor > > On Wednesday, January 28, 2015 at 9:41:22 AM UTC+1, Lvc@ wrote: >> >> Hi Gregor, >> It was 2.0.1-SNAPSHOT, not 2.1-SNAPSHOT. >> >> Lvc@ >> >> >> On 28 January 2015 at 09:19, Gregor Frey <[email protected]> wrote: >> >>> Salve Luca, >>> sfortunamente non funtiona. I took the version orientdb-community-2. >>> 1-20150127.144608-13-distribution.tar.gz >>> <https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/2.1-SNAPSHOT/orientdb-community-2.1-20150127.144608-13-distribution.tar.gz> >>> and >>> also set the system property as you said. But there is no change. >>> Ciao >>> Gregor >>> >>> On Wednesday, January 28, 2015 at 1:35:50 AM UTC+1, Lvc@ wrote: >>>> >>>> Ciao Gregor, >>>> You're right: it's wired at server startup. I've introduced a new env >>>> variable to skip that part of code: >>>> >>>> >>>> *java ... -Dorientdb.installCustomFormatter=false* >>>> It's in 2.0.1-SNAPSHOT. Please could you try it and confirm that works? >>>> >>>> Thanks, >>>> Lvc@ >>>> >>>> >>>> On 26 January 2015 at 17:21, Gregor Frey <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> actually I embed the OrientDB and have my own log-configuration file, >>>>> which is set with the system variable java.util.logging.config.file. >>>>> What happens is that as long as the OrientDB is not started, my >>>>> Formatter (actually the standard SimpleFormatter) is used, but as soon as >>>>> the dbserver is up, all logs on the console ignore my format. If I look >>>>> into the OLogManager I see that the OLogFormatter is set for each instance >>>>> of ConsoleLogger (line 65). That's why I said it is hard coded. At least >>>>> my >>>>> log-configuration is overwritten. The orientdb-server-log.properties files >>>>> has no influence on this, because the system variable is set to my own >>>>> file. >>>>> Ciao >>>>> Gregor >>>>> >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "OrientDB" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "OrientDB" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
