cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Gathering log info with IQService

Gathering log info with IQService

While troubleshooting an aggregation issue with IQService, it is helpful to gather logging information from IQService. Here are steps that will enable an administrator to capture useful IQService logs:

 

1. Stop the IQService using the Task Manager

2. From the command shell (started as an admin user), launch the IQService with the following syntax: C:\PATHTOINSTALL\IQService.exe -d -l 3

3. Perform connectorDebug iterate operation in IIQ CONSOLE on IIQ server.

4. Capture the output in the command shell where IIQ is running (launched in step 2) and attach it to this case as a text file. You can redirect output from the command in step 2 with this syntax: C:\PATHTOINSTALL\IQService.exe -d -l 3 > C:\PATHTOINSTALL\output.log

 

IQService supports the following trace parameters:

-l [level]    Trace Level 0-3 0=off 1=info 2=error 3=debug
-f [fileName] Trace File Name

 

 

Example Usage:

C:\IQService>iqservice -d -l 3 -f debug.log

Labels (1)
Comments

How to enable IQService log file?

See 7.1 SailPoint Direct Connectors Admin and Config Guide​ appendix D.  The instructions are there.  (Look for "trace file name")

try below command -

iqservice -l 3 -f "<location>"

l - specifies the logging level (3 is verbose)

Hello Adithya,

I am also facing the same issue, I am using the below command,

IQService.exe -s -l 3 - f E:\IQService\IQTrace.log

After this, I did my AD provisioning action but there is no provisioning related logs captured in the file, and the log file is like,

08/31/2018 05:43:02 : ServiceMain [] INFO : "Listening Port: [5050]"

08/31/2018 05:43:02 : ServiceMain [] INFO : "TraceLevel: [3]"

08/31/2018 05:43:02 : ServiceMain [] INFO : "TraceFile: [IQTrace.log]"

08/31/2018 05:43:02 : ServiceMain [] INFO : "Running As: [devapps-chevurii]"

08/31/2018 05:43:02 : ServiceMain [] INFO : "CommandLine Arguments"

08/31/2018 05:43:02 : ServiceMain [] INFO : "Argument[0] ==>'-s'"

08/31/2018 05:43:02 : ServiceMain [] INFO : "Argument[1] ==>'-l'"

08/31/2018 05:43:02 : ServiceMain [] INFO : "Argument[2] ==>'3'"

08/31/2018 05:43:02 : ServiceMain [] INFO : "Argument[3] ==>'-'"

08/31/2018 05:43:02 : ServiceMain [] INFO : "Argument[4] ==>'f'"

08/31/2018 05:43:02 : ServiceMain [] INFO : "Argument[5] ==>'E:\IQService\IQTrace.log'"

08/31/2018 05:43:02 : ServiceMain [] INFO : "

    ServiceName: IQService

   Display Name: SailPoint IQService

Configured Port: 5050

  Build version: 7.2 rc38e2c7-20171005-094932

Build timestamp: 10/05/2017 09:56 AM -0500

Build location: RC_7.2

  Build builder: build

     Executable: E:\IQService\IQService.exe

      File Size: 31280

      File Date: 10/5/2017 10:00:40 AM"

after this there is no update in the file.

Can you please help me on this ?

Try first  IQService.exe -s

Then once that is done try IQService.exe -l 3 -f debug.log

It is working fine for me.

Hi All,

Is there a way to change the suffix of the IQService logs when they rollover? I would like to append the date to the files instead of the number.

Thanks,

Amy

Thanks Aditya! Do you know where I should do this? Whenever I update IQService logs, I edit the registry. Do you know where the logging properties file is? Below is what I see in the installation directory.

You might need to try this via a powershell script running on your server.Something like this (please replace values accordingly)-

$date = get-date -format MM-dd-yyyy

$CMD =  "C:\Sailpoint\IQService.exe"

$arg1 = "-d"
$arg2 = "-p"
$arg3 = "5050"
$arg4 = "-l"
$arg5 = "3"
$arg6 = "-f"
$arg7 = "C:\LOG\IQServiceLog-$date.txt"

& $CMD $arg1 $arg2 $arg3 $arg4 $arg5 $arg6 $arg7

Hello,

When I do this - 'IQService.exe -d -l 2' from the cmd from the IQService path, it is stuck and not showing anything. It is just stuck. Can anyone help me with this?

I am trying to extract error logs which are coming during IIQ password reset.

Thanks!

Version history
Revision #:
3 of 3
Last update:
‎Jul 05, 2023 02:45 PM
Updated by: