Hi,
following your previous direction i'm able to create and UDP logger in this way <target name="network" xsi:type="Network" address="udp://192.168.10.104:878" newLine="false" maxMessageSize="65000" encoding="utf-8" layout="${log4jxmlevent:includeSourceInfo=true:includeCallSite=true:includeMdc=true:appInfo=LogEmiter:includeNdc=true:includeNLogData=true}" /> And all works fine if the Log4View client and my application are on the same computer (my pc) But if i use the app in another computer the UDP receiver seems to not works. I'm able to ping the app's pc from my pc and the firewall are both disabled. What am i wrong ??? Thanks again for your support. Stefano |
I am faced with the same issue. As additional information - firewall is stopped on client and server.
|
Hi,
someone have news about this issue ??? Thanks |
Administrator
|
Hi delfo, we have checked this and could not reproduce the error. Which receiver settings did you use? Mit freundlichen Grüßen / Yours sincerely Ulrich Proeller Von: delfo [via Log4View Support] [mailto:ml-node+[hidden email]]
Hi, If you reply to this email, your message will be added to the discussion below: http://forum.log4view.com/UDP-Receiver-don-t-works-remotely-tp28p30.html
To start a new topic under Log4View Support, email
[hidden email]
|
HI,
i use this configuration: <target name="network" xsi:type="Network" address="udp://127.0.0.2:878" newLine="false" maxMessageSize="65000" encoding="utf-8" layout="${log4jxmlevent:includeSourceInfo=true:includeCallSite=true:includeMdc=true:appInfo=LogEmiter:includeNdc=true:includeNLogData=true}" /> and all works fine if i connect to the logger running on my machine from my machine. But if i try to connect to my machine (that have an adrress like 192.168.1.2) from another machine i don't receive nothing (even if i use as IP address in config 127.0.0.1 or 192.168.1.2) All firewalls are disabled in both PCs. Thanks Stefano
_________________ AVVISO DI RISERVATEZZA Le informazioni trasmesse sono da intendere solo per la persona o ente a cui sono indirizzate, possono contenere documenti confidenziali e materiale riservato. Qualsiasi modifica, inoltro, diffusione o altro utilizzo, relativo alle informazioni trasmesse, da parte di persone o enti, diversi dai destinatari indicati, è proibito ai sensi del D.Lg. n. 196 del 30/06/2003. Qualora fosse da Voi ricevuto per errore vogliate cortesemente rinviarlo al mittente e cancellare queste informazioni da ogni computer. Grazie per la collaborazione. CONFIDENTIALITY NOTICE The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and previleged material. Any review, trasmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited (italian law D.Lg. n. 196, 30/06/2003). If you are not the intended recipient, please contact the sender and delete the mail from any computer. Thank you for your cooperation. |
Administrator
|
Hi Stefano, UPD is a protocol, where you have to address the
receiver of the communication. So if you want to send messages to the machine with the address 192.168.1.2, your network target config has to be like this: <target name="network" xsi:type="Network" address="udp://192.168.1.2:878" newLine="false" maxMessageSize="65000" encoding="utf-8" Mit freundlichen Grüßen / Yours sincerely Ulrich Proeller Von: delfo [via Log4View Support] [mailto:ml-node+[hidden email]]
HI, i use this configuration:
and all works fine if i connect to the logger running on my machine from my machine. But if i try to connect to my machine (that have an adrress like 192.168.1.2) from another machine i don't receive nothing (even if i use as IP address in config 127.0.0.1
or 192.168.1.2) All firewalls are disabled in both PCs. Thanks Stefano
If you reply to this email, your message will be added to the discussion below: http://forum.log4view.com/UDP-Receiver-don-t-works-remotely-tp28p32.html
To start a new topic under Log4View Support, email
[hidden email]
|
Hi Ulrich,
thanks for the reply. I have tried to follow your suggestion but it didin't work. My PC (the one that run the app who write the log) is at address 192.168.10.99 The other PC (who must read the log produced by my pc) is at address 192.168.10.103 I have tried to put in my app.config file the follow parameter xsi:type="Network" address="tcp://192.168.10.103:878" xsi:type="Network" address="udp://192.168.10.103:878" xsi:type="Network" address="tcp://192.168.10.99:878" xsi:type="Network" address="udp://192.168.10.99:878" within my PC i can see all logs but in other CP nothing is showed. What am i wrong this time ??? Thanks Stefano |
Free forum by Nabble | Edit this page |