Logs - acastaner/harhar GitHub Wiki

Internet is made by a lot of different people and companies. There are standards but they are not always followed to the letter. For instance, it happens that the “x-unknown” Media Type is sent by servers when clearly that should never happen. Because of this, some errors will sometimes be returned by Harhar. We tried to handle as many errors as possible but it might happen that some are so weird that they weren’t. For this reason, two log files exist:

  • run.log: This file will be generated at each run if any error or warning is thrown by Harhar. Make sure to review it in case file names were truncated (for being too long) or other errors.
  • UnknownMedia.log: This will be generated if a response contains a Media Type not present in HarNet, the .NET library that Harhar uses.