Jump to content

diadoacbr

Arquivo de Log causando lentidão


João Ricardo Stepien
Go to solution Solved by Daniel Simoes,
  • Este tópico foi criado há 1693 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

O ERP que usamos se chama Construshow,  da VIASOFT, e esse AC se utiliza de componentes ACBr.

Estou utilizando o equipamento RB-2000 com Layout XML Entrada 0.07.

O arquivo de configuração da DLL está em C:\Windows\SysWOW64 em um servidor de aplicações Windows 2008 Server R2.

Configurei o arquivo bemasat.xml para que não gere nenhum Log (NivelLog 0):

 

<?xml version="1.0" encoding="UTF-8" ?>
<bematech>
    <Sistema>
        <LocalizarPorta>1</LocalizarPorta>
        <Porta>COM4</Porta>
        <Path>D:\VIASOFT\Server\NFeAcbr\SAT\LOGS</Path>
        <NivelLog>0</NivelLog>
        <ValidarParametros>1</ValidarParametros>
        <ArquivoDados>D:\VIASOFT\Server\NFeAcbr\SAT\DB\bemasat.db</ArquivoDados>
    </Sistema>
    <Timeouts>
        <ativacao>600000</ativacao>
        <icp_brasil>480000</icp_brasil>
        <consultar_sat>10000</consultar_sat>
        <associar_assinatura>20000</associar_assinatura>
        <consultar_sessao>30000</consultar_sessao>
        <trocar_codigo_ativacao>20000</trocar_codigo_ativacao>
        <bloquear_sat>300000</bloquear_sat>
        <desbloquear_sat>30000</desbloquear_sat>
        <extrair_logs>60000</extrair_logs>
        <atualizar_sat>1800000</atualizar_sat>
        <configurar_rede>30000</configurar_rede>
        <enviar_venda>60000</enviar_venda>
        <cancelar_venda>20000</cancelar_venda>
        <teste_fim_a_fim>30000</teste_fim_a_fim>
        <consultar_status>15000</consultar_status>
    </Timeouts>
    <Manutencao>
        <Sessoes>498202,17028,270460,383274,125525,107481,607937,565872,117253,91379,237622,428019,252542,878825,970386,253675,415605,300506,815360,948361,252157,955123,102642,297113,589769,40892,895674,374221,674955,797292,742820,16063,182641,734640,963965,439103,395557,401412,844546,606114,987326,507011,927399,643922,656824,483316,427162,756040,484813,252976,780216,711814,575398,693811,572460,667607,956999,132303,412184,533505,348933,936792,881270,442858,587552,889138,349188,871430,521342,702573,167423,426471,316008,952229,497960,380199,694871,39780,71100,969755,71500,273180,248540,525157,328268,255188,594336,838624,385187,75572,345894,320663,227540,252626,630789,969235,780016,898411,949373,161571</Sessoes>
    </Manutencao>
</bematech>

 

Ocorre que está sendo gerado um arquivo de log na raiz do servidor C:\ com o nome SAT_log.txt.

Este arquivo grava todos os comandos enviados ao sat e os respectivos retornos, incrementando o arquivo cada vez que a aplicação se comunica com o SAT.

São geradas 4 linhas como essas abaixo para cada cupom enviado ao SAT(omiti alguns dados como CNPJ, IE e signAC):  

 

23/12/17 14:10:06:370 - ACBrSAT.Inicializado
23/12/17 14:10:06:516 - NumeroSessao: 252157 - Comando: EnviarDadosVenda( <?xml version="1.0" encoding="UTF-8"?><CFe><infCFe versaoDadosEnt="0.07"><ide><CNPJ>99999999999999</CNPJ><signAC>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</signAC><numeroCaixa>001</numeroCaixa></ide><emit><CNPJ>99999999999999</CNPJ><IE>999999999999</IE><indRatISSQN>S</indRatISSQN></emit><dest></dest><det nItem="1"><prod><cProd>24907</cProd><cEAN>7891435064568</cEAN><xProd>CANALETA TRAMON.C/DIVIS. 20X10X2000 C/FITA</xProd><NCM>39162000</NCM><CFOP>5405</CFOP><uCom>UN</uCom><qCom>4.0000</qCom><vUnCom>6.90</vUnCom><indRegra>A</indRegra></prod><imposto><ICMS><ICMS40><Orig>0</Orig><CST>60</CST></ICMS40></ICMS><PIS><PISAliq><CST>01</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS></COFINSAliq></COFINS></imposto></det><total><vCFeLei12741>0.00</vCFeLei12741></total><pgto><MP><cMP>01</cMP><vMP>50.00</vMP></MP></pgto><infAdic><infCpl>Valor Aprox. dos Impostos: R$ 8,03 Federal e R$ 4,97 Estadual, referente a 47,07% do Total da Nota. Fonte: IBPT Nota Gerada no Caixa</infCpl></infAdic></infCFe></CFe> )
23/12/17 14:10:08:335 - NumeroSessao: 252157 - Resposta:252157|06000|0000|Emitido com sucesso + conteúdo notas|||PENGZT48aW5mQ0ZlIElkPSJDRmUzNTE3MTI1MDg3MTk2MTAwMDE0MDU5MDAwNDE4MDc2MDAyNDIxMTEwNDEyOCIgdmVyc2FvPSIwLjA3IiB2ZXJzYW9EYWRvc0VudD0iMC4wNyIgdmVyc2FvU0I9IjAyMDEwMCI+PGlkZT48Y1VGPjM1PC9jVUY+PGNORj4xMTA0MTI8L2NORj48bW9kPjU5PC9tb2Q+PG5zZXJpZVNBVD4wMDA0MTgwNzY8L25zZXJpZVNBVD48bkNGZT4wMDI0MjE8L25DRmU+PGRFbWk+MjAxNzEyMjM8L2RFbWk+PGhFbWk+MTQxMDA0PC9oRW1pPjxjRFY+ODwvY0RWPjx0cEFtYj4xPC90cEFtYj48Q05QSj4xMzI4NDM5NjAwMDE5ODwvQ05QSj48c2lnbkFDPkZ2ZGZKZUpycDdNbFZIK2RMd05vTW5iQjF3Tk8rZk1WUkpETkRZRXFyank4T24yU0x5VnV5dWxjeVBTSUc0OWVEaThWVnhoaFRCTkNjYUZudW1xNGNmelF5QXpRMEhOelhXTkpKMU9QU1ZYVGQzWDdqQjJ0ZmVFZFBXVXpPdGtlQWZmTkhGUnlkWk1adi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FkU1dBSmhxb25sMHpyTWVxdGt3PTwvWDUwOUNlcnRpZmljYXRlPjwvWDUwOURhdGE+PC9LZXlJbmZvPjwvU2lnbmF0dXJlPjwvQ0ZlPg==|20171223141004|CFe35171250871961000140590004180760024211104128|27.60||YAPaiasdgK4BhmflEKaRYcWnvFLp4YvNiRffvrLPobc0MbKpVflyqyZz12teMtDfNEGveqMAEKuroW7pjdJtqGu33zzut92huY+6ks3epJBg7800RIMqrbiEPYCzcyqF/yngqUQsL2wkWdaSj+us4GXPAJCmNwvgByvpwZNcaQamT+dH82R1enk56R9MntO0tdr/kbR++j2IXNcD6N1zN++iYQRxXfXBlTOA4CfVGyT+NtyJ5Jw7NceNW/ns97lk+HX/gJSrsQ8UMduHSrf/S+Wtjlx+jjkKKOqMVX3TtNpQKl93LG5ylnAtMljcVkZVYaXDmP4TI01MZ0WwBbqFSA==
23/12/17 14:10:08:447 - ACBrSAT.DesInicializado

 

Diariamente estou renomeando os arquivos para sanar esse problema pois,  o arquivo de log fica enorme e quando a aplicação envia um cupom ao SAT o arquivo é acessado e incrementado com novas linhas e quanto maior o arquivo maior a chance de dar erro de comunicação com o SAT.

Eu acredito que o componente ACBr que a empresa se utiliza esteja gerando esse log pois,  como eu comentei acima, eu configurei para que a DLL da Bematech não gere log algum. 

Se alguém está passando pelo mesmo problema ou conseguiu resolvê-lo eu agradeço.

Bom Final de Ano à todos.

Abraços.

 

 

 

 

 

 

Link to comment
Share on other sites

  • Fundadores
  • Solution

Isso deveria ser configurável, dentro do seu sistema... e não "hardcoded"..

Se você possuir os fontes, seria apenas fazer algo com:

  ACBrSAT1.ArqLOG := '';

 

Consultor SAC ACBr

Daniel Simões de Almeida
O melhor TEF, é com o Projeto ACBr - Clique e Conheça
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Link to comment
Share on other sites

Caso os desenvolvedores não tenham definido na aplicação esse parâmetro: 

Em 26/12/2017 at 12:52, Daniel Simoes disse:

ACBrSAT1.ArqLOG := '';

Por padrão / default, o log seria gerado como está ocorrendo? 

Existe uma documentação com esse parâmetros?

Obrigado.

Edited by João Ricardo Stepien
faltou uma pergunta a mais.
Link to comment
Share on other sites

  • Fundadores

Por padrão ele é vazio  ( sem gerar o Log )

A documentação sempre foi um problema no ACBr ( programadores não gostam de escrever documentação)

Mas existem os fontes dos Demos 

Consultor SAC ACBr

Daniel Simões de Almeida
O melhor TEF, é com o Projeto ACBr - Clique e Conheça
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Link to comment
Share on other sites

  • Este tópico foi criado há 1693 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.