Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We are running a report from NPRINT and it writes to the log file when it starts the line - Message Run Schedule: schedule and when it finishes it writes line line - Message Terminate Schedule
when we execute the NPRINT from the CLI it does not write these lines and it starts writing from the job level - Message Run Job and Message Terminate Job.
Why do we have these differences and how we can have everything to be written to the log from the CLI?
Hi @zvikasi123
There simply is not enough information provided here to assist you.
If you could provide the following details it would be greatly appreciated so that members of this community might be able assist you further.
Kind regards...
Hi,
Please start by reading the official help site:
Log details can be increased by setting logs to debug. There are no other settings on the Qlik NPrinting log system.
Best Regards,
Ruggero
HI,
let me explain in more details.
when we run from the NPRINT designer (meaning opening the tool and select the NSQ file) we are able to see in the log messages on the scheduler (Message Run Schedule and Message Terminate Schedule) but when we run from CLI (DOS in our case) we are not able to see messages on the scheduler and messages are only from the job level (Message Run Job and Message Terminate Job).
What can be done to to see messages on the scheduler also when we run from CLI?
HI,
Please find the requested information -
when we run from the NPRINT designer (meaning opening the tool and select the NSQ file) we are able to see in the log messages on the scheduler (Message Run Schedule and Message Terminate Schedule) but when we run from CLI (DOS in our case) we are not able to see messages on the scheduler and messages are only from the job level (Message Run Job and Message Terminate Job).
What can be done to to see messages on the scheduler also when we run from CLI?
Hi @zvikasi123 ,
This is what I see in the log when I run a Job in the CLI:
When I use /Schedule, Designer opens in "Scheduler" mode and all active schedules are executed as defined (as long as you keep the Designer open)
What are you expecting?
- Daniel.
Hi,
Please specify always the version of Qlik NPrinting at the beginning of the conversation. This will speed up the helping process.
When you configure the QlikView NPrinting 16 service you specify the folder where log files are stored. Refer to https://community.qlik.com/t5/Qlik-NPrinting-Documents/How-to-Configure-QlikView-NPrinting-16-Servic... for the details.
There is also a .QVW made by a user (it is not an official tool, so we don't supply support about it) that could be useful for youhttps://community.qlik.com/t5/Qlik-NPrinting-Documents/NPrinting-Log-Viewer/ta-p/1484806
Best Regards,
Ruggero
Hi,
When running from the CLI it is writing to the log from the Message Run Job: job and ending with Message Terminate Job: job.
when running from the NPRINT designer it also writes about the scheduler - Message Run Schedule and Message Terminate Schedule.
How to make it be written to the log when running from the CLI?
HI,
what you describe is what i see.
from CLI it writes on the job level and from NPRINT designer it writes from schedule level.
how to make it writes also on the schedule when running from the CLI?
Hi,
The Designer (Client) is a different software than the Scheduler (the Windows service). So the Designer cannot write about Schedule because it doesn't run them.
Running a Job by running the Designer from the command line is running the Designer, not the Scheduler that is not involved. So you will have the logs from the Designer.
You can evaluate external requests or the On-Demand that uses the Scheduler instead.
Best Regards,
Ruggero