console vs log file

Hi,

I have my web ejb application on local websphere server on my RAD IDE. When i hit the webservice from SOAP UI sometimes my console is getting updated with error kind of message like parse error etc. Sometimes instead of console log file getting updated. I wonder when console when log files gets updated. I have updated log file through log 4j but the name seems wrong and took long time to figure out the log file location. How do i rename log file location. Any link explaing these things in detail. please advise
LVL 7
gudii9Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gurpsbassiCommented:
have a look in your log4j.properties or log4j.xml for the log file location
gudii9Author Commented:
when does console updated within RAD itself?
when does log file alone updated?
when does both RAD console and log file both updated?
please advise
gurpsbassiCommented:
all depends on what you got in your log4j config file
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

gudii9Author Commented:
control shift R and search on log4j.xml in rad is not showing any proper results. Showing some jar files and all not xml file?
Please advise
gurpsbassiCommented:
Is this your code or someone elses?
gudii9Author Commented:
my code only
gurpsbassiCommented:
Then surely you know where your log4j confiiguration file is???????
gudii9Author Commented:
when i search in RAD using Control Shift R log4j.xml it wont find in RAd though?

I do not remember where it is.
gurpsbassiCommented:
I do not remember where it is.
you're not being serious are you?

As a developer surely you would know where your log4j config sits. You are the one who created it.
Do you remember creating it? What did it use, XML or properties?
gudii9Author Commented:
i think i created using websphere admin console and gave paths. Problem is i am creating lot of workspaces and also i have to re image whole RAD recently.
gurpsbassiCommented:
Well that explains things!
You configured logging at the application server level so you wont have a log4j in your source tree!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gudii9Author Commented:
any good link or resource explaining above both two (server level and source tree level) configuring of log4j approaches. Is it is same irrespective of app server or does it changes with each environment and app server?
I am not very clear on this. Please advise
gurpsbassiCommented:
Every app server has its own way of configuring logging.

I don't know of any links sorry.
The server will always take precedence over application level log4j config.

You need to read the websphere documentation about logging configuration for console vs file.
gudii9Author Commented:
https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/console_trace_log.html

i was reading above link. Looks that is different which talks about tracing
gurpsbassiCommented:
guddi9 you are going off on a tangent now.

Your question is about logging on Websphere application server.
You will need to configure it within websphere.
gudii9Author Commented:
sure. i will open new question on tracing etc
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.