Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JCS - SaaS, log file not generated in /customer/scratch/ directory

3334670Nov 14 2016 — edited Nov 14 2016

Hi

Below is my log4j xml (i am using spring 4.0 for development) for JCS - SaaS Deployment

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

    <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">

       <layout class="org.apache.log4j.PatternLayout">

          <param name="ConversionPattern" value="%d %-5p %c.%M:%L - %m%n"/>

       </layout>

    </appender>

    <appender name="file" class="org.apache.log4j.DailyRollingFileAppender">

        <param name="DatePattern" value="'.'yyyy-MM-dd" />

        <param name="file" value="/customer/scratch/justLogg.log" />

        <layout class="org.apache.log4j.PatternLayout">

            <param name="ConversionPattern"

                   value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n" />

        </layout>

    </appender>

   <!-- specify the logging level for loggers from other libraries -->

    <logger name="org.springframework">

        <level value="ERROR" />

    </logger>

   <!-- for all other loggers log only info and above log messages -->

     <root>

        <priority value="DEBUG"/>

        <appender-ref ref="STDOUT" />

        <appender-ref ref="file" />

     </root>

</log4j:configuration>

when the WAR file is deployed to JCS - SaaS environment, i did not find any log file (justLogg.log) in the directory /customer/scratch/

is there anything i need to change in my log4j.xml.?

requesting you to please help me, thanks

Message was edited by: 3334670

Comments

Eric.Sacramento

User Interface Details

2019-04-29_9-34-34.png

User_EI49E

When I change 101 to LOGIN_DESKTOP I get

Sorry, this page isn't available

Application "30101" Page "LOGIN_DESKTOP" not found.

Contact your application administrator.

Eric.Sacramento

you probably deleted this pages, create another application and copy this page to your application.

User_EI49E

Yes, I deleted the new login page, but not the original 101. How do I set LOGIN_DESKTOP back to 101. Is that an application item? Thanks.

Pete

Eric.Sacramento

in the image that I sent to you, try to replace LOGIN_DESKTOP for the number of the page that you want

Neil Clare
Answer

LOGIN_DESKTOP is an alias to your login page.

When you create a new application (or new scheme) the logon page is automatically given that alias.

If you manually delete the page, then the alias does not point to anything.

All you have to do is manually add the alias back in to your original login page.

Capture.PNG

Marked as Answer by User_EI49E · Sep 27 2020
1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 12 2016
Added on Nov 14 2016
0 comments
130 views