Escolar Documentos
Profissional Documentos
Cultura Documentos
If you have worked on Siebel CRM I am sure that you have heard the term
LOGS lot of times. They are one of the most important and useful things if
you are a Siebel Developer. But still most of us actually know how to use
them to our advantage or to reduce our development time. Here in this Article
I will try to explain some tips and tricks to get the logs and debug our
code. Now we all know that we have two types of Siebel Application
Clients.
• Dedicated Client
• Web Client
Siebel Web Client: We will talk first about the Siebel Web Client. Now to
get logs from Siebel Web Client there is no easy way and the only way to get
logs is to increase the log level at server for "Object Manager" or
particular component that you want to get logs of for example Workflow
Process Manager. I will talk detail about the Web Client Logging techniques in
my next few posts.
In this article I am going to discuss ways which can help us get logs from
dedicated clients and speed up our debugging and development time.
Dedicated Client: There are essentially two ways to get logs from dedicated
client
• Spool
• Environmental Variable
Spool: It is a very basic and known technique to get the spool of all the SQL
Queries that are fired in the database level and we all come across it during
our initial Siebel development days. We can enable the spool for Siebel Client
as well as Siebel Tools. The steps to enable spool for both the Siebl tools and
client there is common process which is as following
/s switch here stands for Spool. Various other switches that can be used are
as following
• /u : username
• /p : password
• /d : database
With the following string you can automate login to your local or sample
database depeding on the value you give in the switch. I am providing you
examples of both
• SIEBEL_LOG_EVENTS
• SIEBEL_LOG_DIR
SIEBEL_LOG_EVENTS: ALL
SIEBEL_LOG_DIR: C:\siebel_logs
Remember that Variable Names are case Sensitive. After you have created the
variables when you start you dedicated client you will notice that in the path
that you have given a file named siebel.log is created for Dedicated Client and
file named siebel_dev is created for Siebel Tools.