Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Where can i find Log file in ODL-Controller version

asked 2015-09-14 03:03:44 -0700

karthik330 gravatar image

Hi i am using Stable/helium.I need to see the log file.Can anyone help me by specifying the path?

edit retag flag offensive close merge delete


Which project/projects did you download?

Sania ( 2015-09-14 03:13:26 -0700 )edit

stable/helium controller version.I found opendaylight.log from */opendaylight/logs.. But still i am having doubt whether i got a proper one or not..

karthik330 ( 2015-09-14 06:02:12 -0700 )edit

You do have integration project, right? Go to integration project directory and then follow this path /integration/distributions/karaf/target/assembly/data/log������������������������������������������������������������������������������ Log files should be named something like karaf.log

Sania ( 2015-09-14 07:17:04 -0700 )edit

No i dont have Integration.I am using Stable helium Controller.I use to start ODL from this path --> /controller-stable-helium/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/

karthik330 ( 2015-09-14 23:44:31 -0700 )edit

I'm not sure about stable/helium, I used it a while ago so don't remember exactly. However, here's a thing you can try; make some changes to the code and see if those are reflected in opendaylight.log And do you have any specific reasons to use to stable/helium? Why not a more recent release?

Sania ( 2015-09-15 23:03:49 -0700 )edit

3 answers

Sort by » oldest newest most voted

answered 2015-09-14 07:51:10 -0700

Mandeep gravatar image

updated 2015-09-14 10:02:57 -0700

You are looking for 'log', so I am assuming you know where is bin/karaf to start your ODL controller. Then log (karaf.log) will be at following path:

  - karaf
  - log/
      - karaf.log

I looked at master, helium, lithium installation, and found above is true, so I am assuming rest all (Berilium, integration etc) will also follow the trend. :)

edit flag offensive delete publish link more


Hi Mandeep.yes you are right.But Its for Integration version.I am using stable-helium controller this path --> /controller-stable-helium/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/ where i am running ODL.(not ./karaf)

karthik330 ( 2015-09-14 23:41:32 -0700 )edit

karthik330, I think if you are using, that means you are using hydrogen, not helium or lithium.

jamoluhrsen ( 2015-09-16 08:54:26 -0700 )edit

answered 2015-09-14 04:27:18 -0700

labry gravatar image

updated 2015-09-14 04:28:38 -0700

cat /home/labry/odl_src/controller/karaf/opendaylight-karaf/target/assembly/data/log/karaf.log

Will do the trick. :-D Of course, you have to change "/home/labry/odl_src/" part to direct to your controller directory.

edit flag offensive delete publish link more


Hi thnx for ur reply..Hope you are telling the path for Integration version

karthik330 ( 2015-09-14 06:04:33 -0700 )edit

answered 2015-09-18 07:31:55 -0700

faizan gravatar image

Long time i have posted any comment :)

@karthik330- the file you are looking for is at : /controller-stable-helium/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/logs and opendaylight.log

Point to note that you can change log levels too to get different logs prints from controller or if any logger you have written and build the code.

And Yes, stable helium branch still provides option as you are already trying it. I think in Lithium version they have removed it completely and only karaf based is available.



edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-09-14 03:03:44 -0700

Seen: 1,462 times

Last updated: Sep 18 '15