java_gen: make of_bsn_log a string
diff --git a/java_gen/java_type.py b/java_gen/java_type.py
index 8c06379..7529988 100644
--- a/java_gen/java_type.py
+++ b/java_gen/java_type.py
@@ -506,6 +506,13 @@
 error_cause_data = JType("OFErrorCauseData") \
          .op(version=ANY, read="OFErrorCauseData.read(bb, $length, OFVersion.OF_$version)", write="$name.writeTo(bb)", default="OFErrorCauseData.NONE");
 
+var_string = JType('String').op(
+              read='ChannelUtils.readFixedLengthString(bb, $length)',
+              write='ChannelUtils.writeFixedLengthString(bb, $name, $name.length())',
+              default='""',
+              funnel='sink.putUnencodedChars($name)'
+            )
+
 generic_t = JType("T")
 
 
@@ -683,6 +690,7 @@
         'of_bsn_tlv_vlan_vid' : { 'value' : vlan_vid },
         'of_bsn_table_set_buckets_size' : { 'table_id' : table_id },
         'of_bsn_gentable_entry_add' : { 'table_id' : gen_table_id },
+        'of_bsn_log': { 'data': var_string },
 
         'of_features_reply' : { 'auxiliary_id' : of_aux_id},
 }