Print  
Gold star Gray star Gray star Gray star Gray star 1.0 Average - 1 Rating
1908 Visits    2 Comments
Debugging
Created
Brent McConnell Brent McConnell
Jul 13, 2009 2:17 PM
Modified by
kablink Administration kablink Administration
Jul 23, 2010 5:06 AM

iFolder debug logs - HowTo



Table of Contents

1 Logs  
1.1 Client  
1.2 Server  
2 StoreBrowser  
2.1 To view DB on Server  
2.2 To view DB on clients  
3 Nautilus Extension  
4 Simias Data Directory  


1 Logs  
~~~~~~~
Simias and iFolder uses log4net for logging. log4net provides various levels :

+ Off.
+ Fatal.
+ Error.
+ Warn.
+ Info.
+ Debug.
+ All.

[ [http://logging.apache.org/log4net/release/sdk/log4net.Core.Level.html] ]

Level of logging can be controlled by modifying the Simias.log4net configuration file.

1.1 Client  

Linux - Available at ~/.local/share/simias.
OSX - Available at  ~/.local/share/simias.
Windows - Available at  %APPDATA%\simias   

Simias.log4net and UI.lognet on client is available at the location ~/.local/share/simias/ and %USERPROFILE%\Local Settings\Application Data\simias on Linux/Mac and Windows respectively.  

1.2 Server  

Logs on server is available at the location <data_path>/simias/log/  
Simias.log4net file on server is available at the location <data_path>/simias/  
Web admin and Web access apache logs are available at /var/log/apache2 access_log and admin_log  

2 StoreBrowser  
~~~~~~~~~~~~~~~
iFolder stores the metadata in Flaim store . Store Browser can be used to view the contents of the store. Forms Store Browser can be used to view the contents of iFolder store and modify some of them [ on all 3 platforms ].   
Code available at :  [https://simias.svn.sourceforge.net/svnroot/simias/branches/ifolder3.6-prerelease/simias/tools/FormsStoreBrowser/]  
Executable of FormsStoreBrowser : [https://forgesvn1.novell.com/svn/simias/branches/ifolder3.6-prerelease/simias/tools/FormsStoreBrowser/bin]  
Copy SimiasBrowser.asmx from simias/src/core/Simias.Web/ to /opt/novell/ifolder3/{lib,lib64}/simias/web on the server and <install_path>/{lib,lib64}/simias/web on client

Warning : Using the storebrowser to change the db can leave the simias server in a unstable state.

2.1 To view DB on Server  

1. Go to the location where storebrowser.exe is. Launch Store Browser by executing mono StoreBrowser.exe  
2. File -> Open Store (or Ctrl + s)  
3. Type in http/s:<ip>/simias10    
4. Enter admin credentials are to view the contents of the DB  

2.2 To view DB on clients  

0. Client should be running before you login to store browser   
1. Go to the location where storebrowser.exe is. Launch Store Browser by executing mono StoreBrowser.exe  
2. File -> Open Store (or Ctrl + s)  
3. http/s:<ip>:<port>/simias10  

port is available in the file "xspport.cfg"   
User name and password to login is available in the file ".local.if" separated by ':"   
Above mentioned files are available at the location ~/.local/share/simias/ and %USERPROFILE%\Local Settings\Application Data\simias on Linux/Mac and Windows respectively.  

3 Nautilus Extension  
~~~~~~~~~~~~~~~~~~~~~
Enable the Debug macro #define DEBUG_IFOLDER(args) (g_print("nautilus-ifolder: "), g_printf args) in src/nautilus-ifolder.c [ line 63 ] .  
Start nautilus from terminal and all messages are logged to terminal.

4 Simias Data Directory  
~~~~~~~~~~~~~~~~~~~~~~~~
TODO.

Comments (2)
Attachments (0)
Entry History
 
Thumbnail Image
dan lench dan lench
Jul 12, 2010 3:56 PM
Re: Debugging

the url's above are dead

 

i cannot find the browsers or the aspx file anywhere

 

Thumbnail Image
Ravi Kumar Manjunath Ravi Kumar Manjunath
Jul 12, 2010 4:20 PM
Re: Re: Debugging

Code has been migrated to sourceforge. You could use this link

 

https://simias.svn.sourceforge.net/svnroot/simias/branches/ifolder3.6-prerelease/simias/tools/FormsStoreBrowser/

Add/Delete Tags
Personal Tags
--none--
Add
Community Tags
--none--
Add
Close
Skip Footer Toolbar