Skip to content

Commit

Permalink
It references #190 and fix some stupid unfinished bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
antolinos committed Nov 23, 2017
2 parents e8ab031 + 66ef7cb commit fdae96b
Show file tree
Hide file tree
Showing 51 changed files with 4,050 additions and 3,826 deletions.
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# ISPyB Project [![Build Status](https://travis-ci.org/antolinos/ispyb.png)](https://travis-ci.org/antolinos/ispyb)


## Installing
1. [Installing](#installing)
2. [Versioning](#versioning)
3. [Database creation and update](#database-creation-and-update)
4. [Database schema](#database-schema)
5. [Graylog on Widlfly 8.2](#graylog)

# Installing

1. Clone or fork the ISPyB repository and then clone it by typing:
```
Expand Down Expand Up @@ -147,3 +153,41 @@ Please do not forget to update the database schema :
https://github.com/ispyb/ISPyB/blob/master/documentation/database/ISPyB_DataModel_5.mwb

This schema can be updated using MySQLWorkbench (free tool from MySQL).


### Graylog

Download [biz.paluch.logging](http://logging.paluch.biz) that provides logging to logstash using the Graylog Extended Logging Format (GELF) 1.0 and 1.1.

Then create a custom handler on standalone.xml
```
<profile>
<subsystem xmlns="urn:jboss:domain:logging:2.0">
...
<custom-handler name="GelfLogger" class="biz.paluch.logging.gelf.wildfly.WildFlyGelfLogHandler" module="biz.paluch.logging">
<level name="INFO"/>
<properties>
<property name="host" value="udp:graylog-dau.esrf.fr"/>
<property name="port" value="12201"/>
<property name="version" value="1.0"/>
<property name="facility" value="ispyb-test"/>
<property name="timestampPattern" value="yyyy-MM-dd"/>
</properties>
</custom-handler>
...
<logger category="ispyb">
<level name="INFO"/>
<handlers>
<handler name="ISPYB"/>
<handler name="GelfLogger"/>
</handlers>
</logger>
```

I had some problems with the unvalid messages because of timestapPatter. It was fixed by using:
```
<property name="timestampPattern" value="yyyy-MM-dd"/>
```



Binary file removed configuration/documentation/ISPyB_AdminGuide.doc
Binary file not shown.
Binary file not shown.
Binary file removed configuration/documentation/ISPyB_wildfly.doc
Binary file not shown.
131 changes: 0 additions & 131 deletions configuration/documentation/MariaDB_installation_CentOS.txt

This file was deleted.

Binary file removed configuration/documentation/QuickAdaptToWildfly.docx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit fdae96b

Please sign in to comment.