1
Is it possible to disable logging to the AssemblyResolver.log
Question asked by Hayden Morris - 2/28/2024 at 2:22 PM
Answered
I want to know if I can disable logging to the AssemblyResolver.log as its filling up my drive and taking too much space.

3 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post Marked As Answer
> as its filling up my drive and taking too much space.

Are you sure it's just a text file and could not take that much space. You can also delete older files AssemblyResolver-XXX.log
0
Hayden Morris Replied
Hi thanks for your reply. The files are definitely text files I'll attach a small snippet as an example but these files are reaching several gigabytes in size and its only [Information] level messages. I've tried to track down where in the code is writing these with no success so hoping to find out some more information here.


[3/20/2024 6:03:13 PM] [Information]  Received AssemblyResolve event -> No match for assembly:
                                      Assembly Name:
                                      IKVM.GNU.Classpath, Version=0.30.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58
                                      Requesting Assembly:
                                      <unknown>
[3/20/2024 6:03:13 PM] [Information]  Received AssemblyResolve event -> No match for assembly:
                                      Assembly Name:
                                      IKVM.GNU.Classpath, Version=0.30.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58
                                      Requesting Assembly:
                                      <unknown>
[3/20/2024 6:03:13 PM] [Information]  Received AssemblyResolve event -> No match for assembly:
                                      Assembly Name:
                                      IKVM.GNU.Classpath, Version=0.30.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58
                                      Requesting Assembly:
                                      <unknown>
[3/20/2024 6:03:13 PM] [Information]  Received AssemblyResolve event -> No match for assembly:
                                      Assembly Name:
                                      IKVM.GNU.Classpath, Version=0.30.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58
                                      Requesting Assembly:
                                      <unknown>
[3/20/2024 6:03:13 PM] [Information]  Received AssemblyResolve event -> No match for assembly:
                                      Assembly Name:
                                      IKVM.GNU.Classpath, Version=0.30.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58
                                      Requesting Assembly:
                                      <unknown>
0
Cem Alacayir Replied
Employee Post
Strange, why is there a constant request for assembly IKVM.GNU.Classpath in your project? Seems like you have a loop in your app which tries to load the same non-existing assembly. Normally there should be only few requests in an app and the log file would not exceed 50KB.

Reply to Thread