ODI Log file encoding

Greetings Everyone!
I faced the following problem.
I load data through ODI in Hyperion. For convenient display I made my log file in excel *.csv format. Due to encoding the error description text in my log file is displayed uncorrectly.
Is it possible to configure the encoding for the log files? Maybe i need to put "ENCODING=UTF8" string somewhere?
Thank you!
Regards,
Ilshat

The other method would be just to run a pure maxl data load, so a maxl script and a dataload, this will allow an error file to be generated by essbase.
This can be developed outside of ODI and then once you are happy called from within ODI.
It is worth trying that method to see if essbase will generate the error logs you are looking for.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Odi 11g - IKM SQL to Hyperion Essbase (DATA) log file always empty

    In odi 11g when using *"IKM SQL to Hyperion Essbase (DATA)"* setting the the "LOG_ENABLED" = true,
    only an empty file are generated.
    Just "LOG_ERRORS" file (if errors occurs) are created.
    Is this just an my issue?
    Can someone help me?
    p.s.: the same issue, I got even with the *"IKM SQL to Hyperion Planning"*
    Thx in advance, Paolo

    Thanks John for your suggestion.
    here the patch *"Patch 10302682: IKM SQL TO PLANNING: LOG FILE IS CREATED BUT NOTHING INSIDE."*
    I didn't see any other about Essbase...
    I try to check all day on support site.
    Paolo
    Edited by: Paolo on 19-apr-2011 8.44

  • How to using variable in log file name on ODI 10.1.3.5?

    Hi,
    how can i put a my variable into my log file name?
    now I use this syntax --> ExRate_<%=odiRef.getSysDate("MMddyyHHmm")%>.log.
    But I have a variable for example #server, the value = "oracleProd" and i want to put the variable value into my log file name.
    so the result that i want to get is --> ExRate_oracleProd_<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    so how can I apply the variable value to my log file name? I try using odiRef.getSessionVarList(#Month) but it didn't work.
    Thanks.
    Regards,
    chris
    Edited by: 877142 on Aug 3, 2011 9:36 PM

    hi,
    You can by
    ExRate-#server-<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    Note that I have changed the underscores to dashes. This is because ODI will assume that this is a wildcard/escape character.
    Hope this helps!!
    Bos

  • How to get ODI execution results into ESS log file

    Hi,
    In out project, we are launching ODI scenario from ESS. Once, we launch the scenarion from ESS, we did not know whether the scenario got executed successfully or not. Is there any way to get the ODI execution result (i.e,. Failure message or success message which we can able to see in Operator window of ODI) into ESS log file.
    Thanks,
    Ganesh

    Hi
    As per your query, You need see log file for failure execution and for successful execution, you can also use odisendmail option, below is and example, it may helps you
    Please arrange below 3 in pkg
    1) OdiSqlUnload
    2) OdiSendmail ( Odisendmail1 and Odisendemail2 )
    3) create an excel file in your local machine (eg: in D: drive Error_log_Report )
    Flow in Pkg:
    Interface --->OK ----> Odisendmail1
    |__>KO ---->OdiSqlUnload ---> OK ----> Odisendmail2
    Please enter below details in SqlUnload properties
    Target File: Provide Error_log_Report.xls file location (Eg: D:\Error_log_Report.xls)
    JDBC Driver: Provide Target DB Drivers
    JDBC URL: Provide Target DB JDBC URL
    User: Provide Target DB username
    Password: provide target DB password
    SQL Query: write select query of SELECT FROM targetDB_Schema.E$_table_name (write select query for E$ table)
    Note: In OdiSendmail2, attached above .xls file for interface execution failure as error report
    Regards,
    Phanikanth

  • Capture odi error log files

    hi
    how to capture an odi error log file for an odi package?
    Kindly suggest me in this.

    ODI execution log is stored in the repository, so you could query it to retrieve the needed information. Also you could use substitution api getPrevStepLog() to retrieve error log (code & message) for the certain step. And for OdiOSCommand you could capture error log in the specified Error file.

  • Error for Generating a log file

    Hi Cezar sanos,
    i am trying to generate a log file for ODI with details like who logged in and what is is doing kind of things.
    For this i am executing the command like
    lagentscheduler.bat "-PORT=20910" "-NAME=localagent" "-V=2" > C:\OraHome_1\logs\agent1.log.
    But its getting the error like
    A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
    OracleDI: Starting Scheduler Agent ...
    Starting Oracle Data Integrator Agent...
    Version : 10.1.3.5 - 10/11/2008
    DwgJv.main: Exit. Return code:-1

    Just in case,
    the following message :
    A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
    is only a warning and not an error message....

  • Teradata fast load log file empty

    hei all,
    after update odi 11g teradata fast load script not running, error tells to see the log file but log is empty
    any solution
    naseer

    any solution please

  • Log file variables

    Hi
    I am taking the following steps to try to generate my log file from an ODI variable:
    1. Create an ODI variable say called ESSBASELOG, give it a path and file e.g. D:\ODI\Errors\Essbase\essload.err
    2. In your interface in the KM options for the log filename enter #ESSBASELOG.
    3. Create a package, drag the variable and set it to declare, drag the interface, join them up, execute.
    But for some reason, the path is not recognised, and instead the log file is generated in the ODI bin directory with the variable name as the log name ie.#ESSBASELOG.
    Can anyone suggest what I should try to resolve this?
    Cheers

    Hi,
    Qualify your variable name with your project code .
    i.e #<PROJECT_CODE>.<VARIABLE_NAME>
    Thanks,
    Sutirtha

  • File.encoding - Help

    Hi,
    We are converting German and English DATA to XML. And
    German data (UTF-8) is running through the system fine if I logged
    and tested. But strangely its giving ?? chars when I run as a
    different user. (Sun Solaris / JDK 1.4)
    When I looks at the properties.
    for me:
    file.encoding = ISO8859-1
    for the other user its
    file.encoding=ISO646-US
    Where is this property being set, and how can I change it. This is
    killing me.. I could not find any thing on my system that enforces the
    char set. I am not using any special writers or readers..
    Thanks in advance
    - Ravi

    I do not think that the Latin-1 Supplement characters
    \u00c4\u00e4\u00df\u00dc\u00fc\u00d6\u00f6
    (used in German)
    which are encoded in UTF-8 can be displayed correctly with other encoding than UTF-8, to my knowledge.
    I suppose your browser automatically sets encoding to UTF-8 when reading those data while other users' browsers do not.

  • SQL Loader is creating a log file of 0 (zero) bytes.

    Hello!!
    I am using SQL Loader to load data from a .txt file to a Oracle table.
    Following is the control file:
    LOAD DATA
    CHARACTERSET UTF8
    CONTINUEIF LAST != "|"
    INTO TABLE product_review_dtl
    FIELDS TERMINATED BY '||' TRAILING NULLCOLS
    indiv_review_id INTEGER EXTERNAL,
    pid INTEGER EXTERNAL,
    merchant_review_id INTEGER EXTERNAL,
    merchant_user_id CHAR "SUBSTR(:merchant_user_id,1,20)",
    review_status_txt CHAR "SUBSTR(:review_status_txt,1,20)",
    review_create_date DATE "YYYY-MM-DD",
    helpful_votes_cnt INTEGER EXTERNAL,
    not_helpful_votes_cnt INTEGER EXTERNAL,
    review_source_txt CHAR "SUBSTR(:review_source_txt,1,30)",
    overall_rating_num INTEGER EXTERNAL,
    comment_txt CHAR(4000) "SUBSTR(:comment_txt,1,4000)",
    nickname CHAR "SUBSTR(:nickname,1,30)",
    headline_txt CHAR "SUBSTR(:headline_txt,1,100)",
    confirmed_status_grp INTEGER EXTERNAL "TO_NUMBER(SUBSTR(TO_CHAR(:confirmed_status_grp),1,5))",
    location_txt CHAR "SUBSTR(:location_txt,1,100)"
    Some records are loaded. A log file is also created but it is empty. Can you help me find out why the log file is empty?

    user525235 wrote:
    Hello Folks!!
    I have 2 input files with different encoding (apparent in case of special characters).
    File 1 loads successfully. For File 2 loader gives a memory fault while loading. Hence the log file is of 0 bytes. I still have no clue as to why is the loader giving a memory fault. It is not an OS level memory fault as analysed by the OS team. Please help!
    Thanks in advance :)Unknown OS
    Unknown database version
    No details about what import command was used or the options specified
    No samples / details of input files or their encoding
    No details about exact error message of "memory fault"
    No help is possible ;-)
    Srini

  • Urgent... error in OPP log file

    Hi ALl,
    I am new to xmlp.
    while generating excel output,then progam went to Warning status then I check the log file in OPP.
    I found the following error for my request
    [11/29/10 5:29:33 AM] [UNEXPECTED] [76447:RT28345325] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:566)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:231)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: java.io.UTFDataFormatException: 6-byte UTF8 encoding not supported.
         at oracle.xdo.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:237)
         at oracle.xdo.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
         at oracle.xdo.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
         at oracle.xdo.parser.v2.XMLReader.fillBuffer(XMLReader.java:2294)
         at oracle.xdo.parser.v2.XMLReader.tryRead(XMLReader.java:998)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1275)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:338)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
         ... 17 more
    Thanks in advance

    you have to apply the latest patch for XML Publihser .
    Ask your ebiz-DBA to look at metalink for latest patch. and apply it

  • Posting errors through Log4j in weblogics log file

    I am running portlet application , if i want to print all error messages inside weblogic's Log file how can i do it , please explain me full procedure

    Step 1. Copy log4j-1.2.9.jar & wllog4j.jar under domain_root/lib folder.
    Step 2. Create log4j.xml and drop it under domain_root folder. If you have log4j.xml inside the application(EAR/WAR), I would recommend to move outside EAR/WAR as
    changing severity (log level) would require re-deployment. To avoid this, we can move log4j.xml into domain root folder but again the server needs to be bounced.
    But there is a fix.
    Step 3. Login to weblogic server console. Go to Servers -> Admin Server-> Logging.
    Click on advanced mode. Change the logging implementation from JDK to Log4J.
    Click save.
    Step 4. Activate changes. Re-start the admin server.
    This should enable log4j and should write logging into log file mentioned in log4j.xml or properties file.
    Hang on! There is a catch here. Say now I want to change the log level from DEBUG into WARN or ERROR.
    How do i do?
    We go to log4j.xml and change the level.
    Now how does this change take into effect? It needs bouncing of the server.
    I have given below sample log4j.xml for your reference...
    log4j.xml:
    <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE log4j:configuration SYSTEM
    "log4j.dtd">
    <log4j:configuration>
    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern"
    value="%d [%t] %-5p %c - %m%n"/>
    </layout>
    </appender>
    <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
    <param name="File" value="/log/myApp.log"/>
    <param name="Append" value="true"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d{ISO8601} %t %-5p %c{2} - %m%n"/>
    </layout>
    </appender>
    <logger name="org.apache">
    <level value="WARN"/>
    </logger>
    <logger name="org.springframework">
    <level value="WARN"/>
    </logger>
    <root>
    <level value="DEBUG"/>
    <appender-ref ref="FILE"/>
    <!-- <appender-ref ref="CONSOLE"/> -->
    </root>
    </log4j:configuration>
    I have disabled log4j to write int
    I Followed all these steps , but finally i am getting an empty file myApp.log at specified destination , i want all log messages inside that file when WEBLOGIC starts , so what needs to be done for that

  • Bursting engine fails with NullPointerException in xdo.log file

    Hi all,
      Hi have developed a BI Publisher report but when trying to deliver it using the bursting concurrent program it fails wirh next error:
    Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..
    If I look at the xdo.log file I can see next error:
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[null], [content-type]=[text/plain;charset=UTF-8], [index]=[0], [disposition]=[inline]
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [122713_102535782][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.lang.NullPointerException
        at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:915)
        at javax.mail.internet.MimeUtility.encodeWord(MimeUtility.java:539)
        at javax.mail.internet.MimeUtility.encodeText(MimeUtility.java:373)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:354)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:283)
        at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(SMTPDeliveryRequestHandler.java:604)
        at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(AbstractDeliveryRequest.java:1270)
        at oracle.apps.xdo.batch.DeliveryHelper.submitRequests(DeliveryHelper.java:626)
        at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitCoreDeliveryRequests(DocumentDelivery.java:147)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(BurstingProcessorEngine.java:3268)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(BurstingProcessorEngine.java:2136)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java:2077)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1999)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1135)
        at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
        at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    I don´t know what to do, SMTP server parameters are rigth, bursting control file is also OK, original report with XML output ends OK with a pdf output.
    Any ideas?
    Best Regards
    Javier

    Hi all,
      Hi have developed a BI Publisher report but when trying to deliver it using the bursting concurrent program it fails wirh next error:
    Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..
    If I look at the xdo.log file I can see next error:
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[null], [content-type]=[text/plain;charset=UTF-8], [index]=[0], [disposition]=[inline]
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [122713_102535782][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.lang.NullPointerException
        at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:915)
        at javax.mail.internet.MimeUtility.encodeWord(MimeUtility.java:539)
        at javax.mail.internet.MimeUtility.encodeText(MimeUtility.java:373)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:354)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:283)
        at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(SMTPDeliveryRequestHandler.java:604)
        at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(AbstractDeliveryRequest.java:1270)
        at oracle.apps.xdo.batch.DeliveryHelper.submitRequests(DeliveryHelper.java:626)
        at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitCoreDeliveryRequests(DocumentDelivery.java:147)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(BurstingProcessorEngine.java:3268)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(BurstingProcessorEngine.java:2136)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java:2077)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1999)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1135)
        at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
        at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    I don´t know what to do, SMTP server parameters are rigth, bursting control file is also OK, original report with XML output ends OK with a pdf output.
    Any ideas?
    Best Regards
    Javier

  • Character Garbled in the log file

    HP-UX ia64
    Netweaver 7.0
    CPS M28.17-35130
    DB2 database
    HP-UX locale: en_US.utf8
    DB2 database encoding: utf8
    1: I have Chinese characters directly in the Redwoodscript(Job Definition), which would be printed into jcsErr/jcsOut.
       then in the log file, the Chinese characters are garbled.
    2: there is a job parameter as input string, and it will be printed into jcsErr/jscOut in the RedwoodScript.
       when submitting the job definition, set the parameter with some Chinese Characters,
       then in the log file, the Chinese characters are shown properly.
    I get down the java file in the /usr/sap/CPT/J00/j2ee/cluster/server0/java/compile0, and open it by Eclipse(utf-8),
    and see that the Chinese Characters in the java source file are shown properly.
    this is tested in our Product env.
    Once in our dev/test env, all is ok.
    and now I don't know what the difference causes issue 1.
    I have no idear how to trace this problem.
    hope you can shed some light to me.

    System_info output like below:
    System branch:M28.17
    System Id: SAP:CPT_00
    Build Id: M28.17-35130
    Server Root Directory  : null
    Job File Directory     : /usr/sap/CPT/J00/j2ee/cluster/server0/scheduler
    Java Work Directory    : /usr/sap/CPT/J00/j2ee/cluster/server0/java
    System Log Directory   : /usr/sap/CPT/J00/j2ee/cluster/server0/log
    Database type: (Open SQL) DatabaseType:DB2_ULW
    Database Driver Version: IBM DB2 JDBC Universal Driver Architecture 3.52.95
    Database Name: DB2/HPUX-IA64 (SQL09052)
    Database Connection URL: jdbc:db2://cpstprd:5912/CPT
    SAP_J2EE_Engine_Version=7.11.3301.221185.20081011173236
    SKIP_CLASS_WRAPPERS=false
    file.encoding=utf8
    file.encoding.pkg=sun.io
    file.separator=/
    http.nonProxyHosts=10.|127.|192.168.*
    j2ee.dbhost=cpstprd
    j2ee.engine.apps.folder=file:/usr/sap/CPT/J00/j2ee/cluster/apps/
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.headless=true
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.version=49.0
    java.endorsed.dirs=/usr/sap/CPT/J00/exe/sapjvm_5/jre/lib/endorsed
    java.ext.dirs=/usr/sap/CPT/J00/exe/sapjvm_5/jre/lib/ext
    java.home=/usr/sap/CPT/J00/exe/sapjvm_5/jre
    java.io.tmpdir=./temp
    java.protocol.handler.pkgs=iaik.protocol
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=5.1.024
    java.security.auth.login.config=./temp/security/fallback.config
    java.security.egd=file:/dev/urandom
    java.security.policy=./../bin/kernel/java.policy
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.5
    java.vendor=SAP AG
    java.vendor.url=http://www.sap.com/
    java.vendor.url.bug=http://service.sap.com/support
    java.version=1.5.0_14
    java.vm.info=Sep  2 2008 10:46:19 - 51_REL - optU - hpux ia64 - bas2:106386 (mixed mode)
    java.vm.name=SAP Java 64-Bit Server VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=SAP AG
    java.vm.version=5.1.024
    javax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    javax.security.jacc.policy.provider=com.sap.engine.system.SystemPolicy
    jco.jarm=1
    jmx.invoke.getters=true
    jstartup.debuggable=yes
    jstartup.mode=JSTART
    jstartup.ownHardwareId=S2011879030
    jstartup.ownProcessId=6447
    jstartup.whoami=server
    line.separator=

  • What is in the PostgreSQL_Server_Services.log File and How do I Shrink it?

    I know OS X Server uses PostgreSQL now instead of MySQL which is fine by me. I am trying to figure out what is in the PostgreSQL_Server_Services.log file in Library/Logs/PostgreSQL/ . It is about 188 GB right now and ideally instead of relocating it along with other services to another drive from the nice 256GB SSD that is in the system I would like to understand what is in the database and how to manage it's size better.
    Any pointers for best practice on managing the database or what the heck is in it?
    Thanks!

    Thanks for the response. I mistyped in the question as I understood it was a log file. The DB itself is only about 1-2GB. As for reviewing I am fine with modifying the permissions and examining the file in the console or other app but I am most interested in how to manage it safely. Can I just clear the log contents? If so what is the safe way to do so? I know with many DB's the log file is critical to it's function and if things happen to the log file it can render the DB unusable. In addition what is the best way to modify the rotation routine it uses and set the logging level? (I have pasted the .plist contents for Postgresql for Server Services below)
    I have also downloaded and installed pgAdmin but have not gone through the steps of connecting it to the DB and log file (users setup etc.)
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>ProgramArguments</key>
        <array>
            <string>-D</string>
            <string>/Library/Server/PostgreSQL For Server Services/Data</string>
            <string>-c</string>
            <string>unix_socket_directory=/Library/Server/PostgreSQL For Server Services/Socket</string>
            <string>-c</string>
            <string>logging_collector=on</string>
            <string>-c</string>
            <string>log_connections=on</string>
            <string>-c</string>
            <string>log_lock_waits=on</string>
            <string>-c</string>
            <string>log_statement=ddl</string>
            <string>-c</string>
            <string>log_line_prefix=%t </string>
            <string>-c</string>
            <string>listen_addresses=</string>
            <string>-c</string>
            <string>log_directory=/Library/Logs/PostgreSQL</string>
            <string>-c</string>
            <string>log_filename=PostgreSQL_Server_Services.log</string>
            <string>-c</string>
            <string>unix_socket_group=_postgres</string>
            <string>-c</string>
            <string>unix_socket_permissions=0770</string>
        </array>
    </dict>
    </plist>

Maybe you are looking for

  • Taxware SAP configuration on the basis of product code

    Hi, I request you to send the cofiguration steps for Taxware and SAP on the basis of product code. Thanks in advance, Subhabrata

  • Can´t use my World minutes for Office 365

    Hi all, Does anybody knows how can i use my World minutes for Office365.Everything was done by the book, and account is active.But when im trying to do a call nothing works.Is there any special advise so this subscription stars to work ? Can't really

  • Previous bean modification next and modification not visible

    Hi, I have a succession of jsf pages. On the first I set values of my managed bean then I click next. On the second I set other values. If I return on the first page and change the values I reinitialize the values of the second page but if I click on

  • I phone 4 network signal issue after updating 4.0.1

    hello friends please help me on this issue urgently i purchased iPhone 4 working absolutely fine then i update ios from 4.0 to 4.01 now i got network issues signal not showing full... what i do please help me urgently on this issue pleasr Rgds Mohit

  • IPhoto 11 upgrade

    I did an iPhoto 11 upgrade and it began upgrading my library. Unfortunately, my Mac crashed just before it finished. Now I see none of my pictures. Is there any way to restore the library?