[go: up one dir, main page]

Menu

Log4j & UCanAccess

2015-08-14
2015-10-09
  • Dario Ferrante

    Dario Ferrante - 2015-08-14

    Dear All,
    My question is not a problem, but it is a curiosity.
    The actions on my program are stored in a log with log4j.

    But i noted Log4J check all tables managed by UCanAccess:

    15-08-14 12:10:07,604 DEBUG [com.healthmarketscience.jackcess.impl.DatabaseImpl] Finished reading system catalog. Tables: [Allenatori, Classifica, Coppe, DateGiornate, Giocatori, HTMLContents, Nazioni, Partite, Penalizzazioni, Ruolo, Segnature, Squadre, Users]
    2015-08-14 12:10:09,334 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,334 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] Edoardo Reja
    2015-08-14 12:10:09,374 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,374 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] Delio Rossi
    ....more 30 rows
    2015-08-14 12:10:09,404 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,404 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] Champions League
    2015-08-14 12:10:09,404 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    ....more 6 rows
    2015-08-14 12:10:09,416 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,416 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] ABBIATI Christian
    2015-08-14 12:10:09,416 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,551 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] PANDEV Goran
    2015-08-14 12:10:09,551 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,558 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] VARGAS Eduardo
    ....more 1300 rows
    2015-08-14 12:10:09,596 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,596 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] Andorra
    2015-08-14 12:10:09,596 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,596 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] United Arab Emirates
    2015-08-14 12:10:09,596 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,596 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] Nation/AE.png
    .....more 600 row
    2015-08-14 12:10:09,667 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,667 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] Portiere
    2015-08-14 12:10:09,668 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    ...more 300 rows
    2015-08-14 12:10:09,936 WARN [com.healthmarketscience.jackcess.Index] unsupported data type BINARY for index, making read-only
    2015-08-14 12:10:09,939 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    2015-08-14 12:10:09,939 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] Class.[idClassifica]
    2015-08-14 12:10:09,939 DEBUG [com.healthmarketscience.jackcess.impl.scsu.Debug] expand output:
    ...more 100 row

    and so on.
    they are more of 2500 rows and this check delay the start of my program, considering this check with previous driver was not managed and therefore Log4j is not responsible of this issue.

    Is there a way to disable this check?

    Thank you.
    Have a nice weekend.

    Dario.

     

    Last edit: Dario Ferrante 2015-08-14
  • Marco Amadei

    Marco Amadei - 2015-08-16

    As you can see these logs don't come from ucanaccess. If you properly configure log4j(and in particular the com.healthmarketscience.jackcess category) all will work as you expected.

     

    Last edit: Marco Amadei 2015-08-20
  • Dario Ferrante

    Dario Ferrante - 2015-10-09

    Hi Marco,
    Sorry for my long delay.
    Ok, it has to be managed through Log4j file configuration, but how can I disable "com.healthmarketscience.jackcess" category in my conf. file?
    because I want to see my warnings also in "Debug" modality.
    Can you help me on this issue?

    Thank you very much.
    Dario.

     

Log in to post a comment.