Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Debug mode of application

2 posts in Appeon (partner product) Last posting was on 2004-04-15 03:48:44.0Z
Joe Posted on 2004-04-14 21:59:42.0Z
Sender: 4405.407da602.1804289383@sybase.com
From: Joe
Newsgroups: sybase.public.appeon
Subject: Debug mode of application
X-Mailer: WebNews to Mail Gateway v1.1s
Message-ID: <407da63e.440f.846930886@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 14 Apr 2004 13:59:42 -0800
X-Trace: forums-1-dub 1081976382 10.22.241.41 (14 Apr 2004 13:59:42 -0800)
X-Original-Trace: 14 Apr 2004 13:59:42 -0800, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:193
Article PK: 20629

Hi guys,

Could you tell me how to run application in debug mode and
where I can find the log file?

Thanks
Joe


Julie Jiang Posted on 2004-04-15 03:48:44.0Z
From: "Julie Jiang" <julie.jiang@appeon.net>
Newsgroups: sybase.public.appeon
References: <407da63e.440f.846930886@sybase.com>
Subject: Re: Debug mode of application
Lines: 175
Organization: Appeon Corporation
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0102_01C422D7.C26CA6B0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
X-Original-NNTP-Posting-Host: 61.144.207.53
Message-ID: <407df806@forums-2-dub>
X-Original-Trace: 14 Apr 2004 19:48:38 -0800, 61.144.207.53
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 14 Apr 2004 19:48:41 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 14 Apr 2004 19:48:44 -0800
X-Trace: forums-1-dub 1081997324 10.22.108.75 (14 Apr 2004 19:48:44 -0800)
X-Original-Trace: 14 Apr 2004 19:48:44 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:194
Article PK: 20623

Hi Joe,

If you want to run an application in debug mode and view the log file, you can find the instructions from the following sections in the Appeon Developer User Guide: section 4.2.4.c (JS log option for debug); chapter 10 (JavaScript log configuration).  The following are some highlights from the sections:
 
STEP 1: Check the JS Log option in Appeon Config --> Application Profiles tab from the Appeon Developer toolbar.  This is a switch to enable/disable log writing for each application profile.
 
STEP 2: Use incremental mode to re-deploy the application with Appeon Deployment Wizard. 
 
STEP 3: Configure the log-writing settings in the JSLog Config --> Log-writing Setting tab in the Appeon Developer toolbar. 
・ Unselect the Use Appeon Log Start and Stop Points checkbox, so that the log writing will take effect in the whole application. 
・ Select the functions/events in the Log-writing at Function/Event Level listbox, so that the logging information will be written down each time the selected functions/events are executed. 
 
STEP 4: The JSLog Config -> Log File Setting tab on the Appeon Developer toolbar includes settings for:
・ The log file path
・ The log file name
・ The log file size limit
 
By default, the log file (JsLog.txt) will be saved to the %application name%\debug folder under Appeon installation path, for example, C:\Program Files\Appeon\Developer\sales_application_demo\debug\. 
 
STEP 5: Run the Web application.  The application now runs in the debug mode, and you will be able to find the runtime log in the above-said default (or specified) log file path.
 
Please note, applications deployed with the JSLog option enabled cannot be accessed from a machine that does not have Appeon Developer installed.  For example, if you access the Web application from a remote client, there may be an error message "JSLog is not an object". If the application profile is set to JS Log-enabled in the Appeon Developer Configuration | Application Profiles tab, the generated Web application will search for Appeon Developer and try to write logs to the folder specified in the Log File Path of the JSLog Config window. As designed by Appeon, the JSLog-writing functionality only works when you are running the Web application from the machine running Appeon Developer.
 
Regards,
Julie Jiang
Appeon Corporation

<Joe> wrote in message news:407da63e.440f.846930886@sybase.com...
> Hi guys,
>
> Could you tell me how to run application in debug mode and
> where I can find the log file?
>
> Thanks
> Joe