Attaching more than one attachment

What would you like to see added or changed in the application
Amazone
Posts: 152
Joined: Fri 27 Sep, 2024 8:59 am
Location: Belgium

Re: Attaching more than one attachment

Post by Amazone »

OK but is this slowing up my startup?
Do I need to send you the screencaptures?
Campbell
Site Admin
Posts: 405
Joined: Sun 14 Jul, 2024 10:21 am
Location: Edinburgh, Scotland
Contact:

Re: Attaching more than one attachment

Post by Campbell »

I don't think the price updates will be slowing the start-up, you can see they all happen within a few milliseconds. But something certainly seems to be, and I'll try and work out what.

Yes please, if you can send me a screen capture that would be very helpful.
Amazone
Posts: 152
Joined: Fri 27 Sep, 2024 8:59 am
Location: Belgium

Re: Attaching more than one attachment

Post by Amazone »

Done.
Campbell
Site Admin
Posts: 405
Joined: Sun 14 Jul, 2024 10:21 am
Location: Edinburgh, Scotland
Contact:

Re: Attaching more than one attachment

Post by Campbell »

I've added some additional logging in v1.7.5.2 on startup, to try to narrow down where the delay is. You may need to add the following section to the nlog config file to see all the new entries:

Code: Select all

<logger name="*" minlevel="Trace" maxLevel="Debug" writeTo="logfile" >
	<filters defaultAction="Ignore">
		<when condition="'${event-properties:item=Category}' == 'General'" action="Log" />			  
	</filters>
</logger>
Amazone
Posts: 152
Joined: Fri 27 Sep, 2024 8:59 am
Location: Belgium

Re: Attaching more than one attachment

Post by Amazone »

I changed the log - see attachment
Schermafbeelding 2025-12-10 103916.png
Schermafbeelding 2025-12-10 103916.png (55.84 KiB) Viewed 290 times
.
I first updated the program.
After that it restarted 3 times very fast. I thought the issue was solved.
But when I restarted again later it was slow again.
How do I add the log file here?
Campbell
Site Admin
Posts: 405
Joined: Sun 14 Jul, 2024 10:21 am
Location: Edinburgh, Scotland
Contact:

Re: Attaching more than one attachment

Post by Campbell »

Attaching log files in the forum was disabled by default. I've enabled this now.
Amazone
Posts: 152
Joined: Fri 27 Sep, 2024 8:59 am
Location: Belgium

Re: Attaching more than one attachment

Post by Amazone »

maxim.log
(245.61 KiB) Downloaded 26 times
Nice - so here is my log
Campbell
Site Admin
Posts: 405
Joined: Sun 14 Jul, 2024 10:21 am
Location: Edinburgh, Scotland
Contact:

Re: Attaching more than one attachment

Post by Campbell »

I'm not seeing the new logging, but just realised I think you added the new section (highlighted in red in your image) in the wrong place. It should be before the </rules> entry, not after. Can you move it up a section and try again please, and we should see some additional entries in the log.
Amazone
Posts: 152
Joined: Fri 27 Sep, 2024 8:59 am
Location: Belgium

Re: Attaching more than one attachment

Post by Amazone »

I changed the loging file:
<?xml version="1.0" encoding="windows-1252" ?>
<!-- XSD manual extracted from package NLog.Schema: https://www.nuget.org/packages/NLog.Schema-->
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd">
autoReload="true"
internalLogFile="c:\temp\console-example-internal.log"
internalLogLevel="Info" >

<!-- the targets to write to -->
<targets>
<!-- write logs to file -->
<target xsi:type="File" name="logfile" fileName="D:\Mijn Documenten\OneDrive\MaximMoney\maxim.log"
layout="${longdate} [${level} ${event-properties:item=Category}]: ${message} ${exception:format=tostring}" />
</targets>

<!-- rules to map from logger name to target -->
<rules>
<logger name="*" minlevel="Info" writeTo="logfile" />
<logger name="*" minlevel="Trace" maxLevel="Debug" writeTo="logfile" >
<filters defaultAction="Ignore">
<when condition="'${event-properties:item=Category}' == 'Pricing'" action="Log" />
</filters>
</logger>

<logger name="*" minlevel="Trace" maxLevel="Debug" writeTo="logfile" >
<filters defaultAction="Ignore">
<when condition="'${event-properties:item=Category}' == 'General'" action="Log" />
</filters>
</logger>


</rules>

</nlog>
Attachments
maxim.log
(265.35 KiB) Downloaded 22 times
Amazone
Posts: 152
Joined: Fri 27 Sep, 2024 8:59 am
Location: Belgium

Re: Attaching more than one attachment

Post by Amazone »

The logs I attached are not loading?????
Post Reply